-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent Behaviours in APISIX CLI #9742
Comments
@lingsamuel I can take this |
any update? |
@kayx23 This got lost. Thanks for reminder. Putting this into backlog and will process it. |
Only @kayx23 What do you think? Should we add |
@kayx23 For the 2nd point, For the 1st point, flag parsing is not consistent right now as it's not done in commands other than |
Thanks for the help. One last thing, should there be a |
Yep, this suggestion makes sense to me. I will create a PR for this. Although, since |
Description
Relevant file: https://github.com/apache/apisix/blob/master/apisix/cli/ops.lua
1. Command
-h
optionA help menu for
apisix start
is printed if I runapisix start -h
: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:2.
--verbose
optionapisix/apisix/cli/ops.lua
Line 801 in 9993bbb
-v
as well.apisix init_etcd --verbose
did not print additional debug info for me, compared with the output ofapisix init_etcd
. Is this how it's used? If so, can others share their results?Environment
The text was updated successfully, but these errors were encountered: