mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
-h and --help are not invalid commands
This commit is contained in:
parent
ceb4b20ede
commit
90c953871f
1 changed files with 2 additions and 1 deletions
1
fdroid
1
fdroid
|
@ -44,6 +44,7 @@ def main():
|
|||
|
||||
command = sys.argv[1]
|
||||
if not command in commands:
|
||||
if command not in ('-h', '--help'):
|
||||
print "Command '" + command + "' not recognised.\n"
|
||||
print_help()
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue