6838: report cli crash ignoring unknown param
merge from gramps40 branch svn: r22596
This commit is contained in:
parent
6d9fbe0238
commit
242fd1372d
@ -422,7 +422,7 @@ class CommandLineReport(object):
|
||||
self.options_help[name].append(option.get_help())
|
||||
else:
|
||||
print(_("Unknown option: %s") % option, file=sys.stderr)
|
||||
print(_(" Valid options are:"),
|
||||
print(_(" Valid options are:") +
|
||||
", ".join(list(self.options_dict.keys())),
|
||||
file=sys.stderr)
|
||||
print(_(" Use '%(donottranslate)s' to see description "
|
||||
|
Loading…
Reference in New Issue
Block a user