更新 mes_in_sct/start.php
All checks were successful
Run Unit Tests / test (pull_request) Successful in 44s

This commit is contained in:
james 2025-07-28 00:35:02 +08:00
parent f2e5af1f08
commit 656e2d9951

View File

@ -2,7 +2,7 @@
<?php
require_once __DIR__ . '/vendor/autoload.php';
// 使用 getopt 函数解析命令行参数
$options = getopt('h', ['APP_ENV:', 'help']);
$options = getopt('h', ['APP_ENV:', 'help::']);
// 检查是否请求帮助信息
if (isset($options['h']) || isset($options['help'])) {
echo "Usage: php start.php [options]\n";