From e3f6ed1f174b474f105769eaa2f924a58e4672b3 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Mon, 24 Jun 2013 18:14:42 +0000 Subject: [PATCH] 6838: report cli crash ignoring unknown param Port my fix from gramps34 svn: r22595 --- gramps/cli/plug/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/cli/plug/__init__.py b/gramps/cli/plug/__init__.py index 979eaa675..c9aef488b 100644 --- a/gramps/cli/plug/__init__.py +++ b/gramps/cli/plug/__init__.py @@ -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 "