1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

-h and --help are not invalid commands

This commit is contained in:
Daniel Martí 2013-06-06 15:27:53 +02:00
parent ceb4b20ede
commit 90c953871f

3
fdroid
View File

@ -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)