Merge branch 'syntaxfix' into 'master'

correct "usage" output (--help; see #405)

See merge request fdroid/fdroidserver!403
This commit is contained in:
Hans-Christoph Steiner 2017-12-07 14:17:25 +00:00
commit 7f4d84684e

2
fdroid
View file

@ -53,7 +53,7 @@ commands = OrderedDict([
def print_help(): def print_help():
print(_("usage: ") + _("fdroid [-h|--help|--version] <command> [<args>]")) print(_("usage: ") + _("fdroid [<command>] [-h|--help|--version|<args>]"))
print("") print("")
print(_("Valid commands are:")) print(_("Valid commands are:"))
for cmd, summary in commands.items(): for cmd, summary in commands.items():