This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 1fe4e50 chore: show help message if the argument is invalid. (#2408)
1fe4e50 is described below
commit 1fe4e50f5a153edc738efbe92aba3f910e5c888e
Author: 尚墨 <[email protected]>
AuthorDate: Mon Oct 19 10:35:42 2020 +0800
chore: show help message if the argument is invalid. (#2408)
---
bin/apisix | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/apisix b/bin/apisix
index 7b3da87..71a8434 100755
--- a/bin/apisix
+++ b/bin/apisix
@@ -1158,6 +1158,7 @@ end
if not _M[cmd_action] then
print("invalid argument: ", cmd_action, "\n")
+ _M.help()
return
end