chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb4b20
)
-h and --help are not invalid commands
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 6 Jun 2013 13:27:53 +0000
(15:27 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 6 Jun 2013 13:27:53 +0000
(15:27 +0200)
fdroid
patch
|
blob
|
history
diff --git
a/fdroid
b/fdroid
index a14ea17b6504fc36f395f9ed5a938ad6f4ad3bfd..d29841d7921dc3ef13548cf56e8e2c424c313824 100755
(executable)
--- 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)