mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-03 12:37:36 +08:00
chore: show help message if the argument is invalid. (#2408)
This commit is contained in:
parent
5fcbb4de9c
commit
1fe4e50f5a
@ -1158,6 +1158,7 @@ end
|
||||
|
||||
if not _M[cmd_action] then
|
||||
print("invalid argument: ", cmd_action, "\n")
|
||||
_M.help()
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user