From 90c953871f9e527977f6aed8ef23202dbaede3a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 6 Jun 2013 15:27:53 +0200 Subject: [PATCH] -h and --help are not invalid commands --- fdroid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdroid b/fdroid index a14ea17b..d29841d7 100755 --- a/fdroid +++ b/fdroid @@ -44,7 +44,8 @@ def main(): command = sys.argv[1] if not command in commands: - print "Command '" + command + "' not recognised.\n" + if command not in ('-h', '--help'): + print "Command '" + command + "' not recognised.\n" print_help() sys.exit(1) -- 2.30.2