From 1fe4e50f5a153edc738efbe92aba3f910e5c888e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=9A=E5=A2=A8?= <35804630+sober-wang@users.noreply.github.com> Date: Mon, 19 Oct 2020 10:35:42 +0800 Subject: [PATCH] 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 7b3da876..71a84346 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