From: Tobias Ulmer Date: Fri, 1 Feb 2013 17:52:46 +0000 (+0100) Subject: e2: call usage() with the proper exit code X-Git-Tag: e2factory-2.3.13rc1~31 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=9f81adbb57c4e339bd25fee6317bdd2ff7c7e869;p=e2factory.git e2: call usage() with the proper exit code Signed-off-by: Tobias Ulmer --- diff --git a/global/e2.lua b/global/e2.lua index 9cd57e0..0fbca62 100644 --- a/global/e2.lua +++ b/global/e2.lua @@ -67,7 +67,7 @@ elseif e2call.basename == "e2" then e2call.toolname = "e2" local opts = e2option.parse(arg) if #opts == 0 then - e2option.usage() + e2option.usage(1) end e2lib.finish(0) else