Diffstat (limited to 'Main.gd')
-rw-r--r--Main.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Main.gd b/Main.gd
index d478378..fd5850f 100644
--- a/Main.gd
+++ b/Main.gd
@@ -16,12 +16,12 @@ func _ready():
dest = "restaurant" # the variable it goes into (defaults to longest trigger)
}))
p.add_argument(Arg.new({
- triggers = ["-H", "-?"],
+ triggers = ["-H", "-?", "--help"],
dest = "help",
help = "show this help message and exit",
action = "store_true"
}))
- var args = p.parse_arguments() # Parse
+ var args = p.parse_arguments(OS.get_cmdline_args() + OS.get_cmdline_user_args()) # Parse
if args.get("help", false): # Check if we want help
print(p.help()) # Show help
else: