improvement to 18527: give user feedback for bad CLI "off" option
svn: r18532
This commit is contained in:
parent
fb48820056
commit
01d39d996f
@ -477,7 +477,7 @@ class CommandLineReport(object):
|
|||||||
_chosen_format = graphdoc.FORMATS[0]["ext"]
|
_chosen_format = graphdoc.FORMATS[0]["ext"]
|
||||||
else:
|
else:
|
||||||
self.format = None
|
self.format = None
|
||||||
if _chosen_format:
|
if _chosen_format and self.options_str_dict.has_key('off'):
|
||||||
print (_("Ignoring '%(notranslate1)s=%(notranslate2)s' "
|
print (_("Ignoring '%(notranslate1)s=%(notranslate2)s' "
|
||||||
"and using '%(notranslate1)s=%(notranslate3)s'.") %
|
"and using '%(notranslate1)s=%(notranslate3)s'.") %
|
||||||
{'notranslate1' : "off",
|
{'notranslate1' : "off",
|
||||||
|
Loading…
Reference in New Issue
Block a user