summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ap.lua b/ap.lua
index b597e60..7f70432 100755
--- a/ap.lua
+++ b/ap.lua
@@ -142,7 +142,7 @@ end
cmd = table.remove(opts, 1)
-if cmd == nil then
+if help or cmd == nil then
print_usage()
-- usage
return