kayx23 opened a new issue, #9742:
URL: https://github.com/apache/apisix/issues/9742

   ### Description
   
   Relevant file: 
https://github.com/apache/apisix/blob/master/apisix/cli/ops.lua
   
   ### 1. Command `-h` option
   
   A help menu for `apisix start` is printed if I run `apisix start -h`:
   
![image](https://github.com/apache/apisix/assets/39619599/c531f265-0943-4b34-a6c3-111c76c781ac)
   
   However, `-h` does not seem to work for the other CLI commands, which is 
unexpected from a user perspective.
   
   For example, `-h` is ignored in the following examples with other commands:
   
   
![image](https://github.com/apache/apisix/assets/39619599/79606e06-af1b-4e41-a548-2dac0482a76b)
   
   ### 2. `--verbose` option
   
   
https://github.com/apache/apisix/blob/9993bbbbb139cab312e7581836ac35da5fe51500/apisix/cli/ops.lua#L801
   
   * This should accept `-v` as well.
   * `apisix init_etcd --verbose` did not print additional debug info for me, 
compared with the output of `apisix init_etcd`. Is this how it's used? If so, 
can others share their results?
   
   
   ### Environment
   
   - APISIX version: 3.3.0
   - Operating system: CentOS 8
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to