This commit is contained in:
parent
360888887f
commit
5d2eaeef76
@ -2,6 +2,7 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
// 使用 getopt 函数解析命令行参数
|
||||
|
||||
$options = getopt('h::', ['APP_ENV::', 'help::']);
|
||||
// 检查是否请求帮助信息
|
||||
if (isset($options['h']) || isset($options['help'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user