chiark / gitweb /
Merge branch 'syntaxfix' into 'master'
authorHans-Christoph Steiner <hans@guardianproject.info>
Thu, 7 Dec 2017 14:17:25 +0000 (14:17 +0000)
committerHans-Christoph Steiner <hans@guardianproject.info>
Thu, 7 Dec 2017 14:17:25 +0000 (14:17 +0000)
correct "usage" output (--help; see #405)

See merge request fdroid/fdroidserver!403

fdroid

diff --git a/fdroid b/fdroid
index f5e6c92b5dce805a11109987e948531f1cf44599..74339df00f8348aec0009ff3ff981daa0a41b4bf 100755 (executable)
--- a/fdroid
+++ b/fdroid
@@ -53,7 +53,7 @@ commands = OrderedDict([
 
 
 def print_help():
-    print(_("usage: ") + _("fdroid [-h|--help|--version] <command> [<args>]"))
+    print(_("usage: ") + _("fdroid [<command>] [-h|--help|--version|<args>]"))
     print("")
     print(_("Valid commands are:"))
     for cmd, summary in commands.items():