diff --git a/apisix/cli/ops.lua b/apisix/cli/ops.lua index de82276f8d89..c1a575ed4f87 100644 --- a/apisix/cli/ops.lua +++ b/apisix/cli/ops.lua @@ -811,7 +811,7 @@ local function start(env, ...) parser:argument("_", "Placeholder") parser:option("-c --config", "location of customized config.yaml") -- TODO: more logs for APISIX cli could be added using this feature - parser:flag("--verbose", "show init_etcd debug information") + parser:flag("-v --verbose", "show init_etcd debug information") local args = parser:parse() local customized_yaml = args["config"] diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md index b462e01582b8..79e3f3d48a51 100644 --- a/docs/en/latest/FAQ.md +++ b/docs/en/latest/FAQ.md @@ -105,7 +105,7 @@ Mainland China users can use `luarocks.cn` as the LuaRocks server. You can use t make deps ENV_LUAROCKS_SERVER=https://luarocks.cn ``` -If this does not solve your problem, you can try getting a detailed log by using the `--verbose` flag to diagnose the problem. +If this does not solve your problem, you can try getting a detailed log by using the `--verbose` or `-v` flag to diagnose the problem. ## How do I build the APISIX-Base environment? diff --git a/docs/zh/latest/FAQ.md b/docs/zh/latest/FAQ.md index 923cf22f5cf4..944f96195420 100644 --- a/docs/zh/latest/FAQ.md +++ b/docs/zh/latest/FAQ.md @@ -109,7 +109,7 @@ luarocks config rocks_servers make deps ENV_LUAROCKS_SERVER=https://luarocks.cn ``` -如果通过上述操作仍然无法解决问题,可以尝试使用 `--verbose` 参数获取详细的日志来诊断问题。 +如果通过上述操作仍然无法解决问题,可以尝试使用 `--verbose` 或 `-v` 参数获取详细的日志来诊断问题。 ## 如何构建 APISIX-Base 环境?