6838: report cli crash ignoring an unknown param
Use + for string concatenation rather than passing a tuple to print. svn: r22593
This commit is contained in:
parent
c09c767b26
commit
b6f0ab523f
@ -431,7 +431,7 @@ class CommandLineReport(object):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
print (_("Ignoring unknown option: %s") % opt).encode(sys.getfilesystemencoding())
|
print (_("Ignoring unknown option: %s") % opt).encode(sys.getfilesystemencoding())
|
||||||
print (_(" Valid options are:"), ", ".join(
|
print (_(" Valid options are:") + ", ".join(
|
||||||
self.options_dict.keys())).encode(sys.getfilesystemencoding())
|
self.options_dict.keys())).encode(sys.getfilesystemencoding())
|
||||||
print (_(" Use '%(donottranslate)s' to see description "
|
print (_(" Use '%(donottranslate)s' to see description "
|
||||||
"and acceptable values") %
|
"and acceptable values") %
|
||||||
|
Loading…
Reference in New Issue
Block a user