Improvements to CLI reports -

0001824: Bug in command line - gramps does not show right error.
0001821: A command "python src/gramps.py --open=DG1 --action=report" cause a crash
Fix help strings.

svn: r10122
This commit is contained in:
Brian Matherly
2008-02-26 04:32:57 +00:00
parent 7aed9fc1bf
commit 16799c2465
4 changed files with 63 additions and 24 deletions

View File

@ -1154,7 +1154,7 @@ class GuiMenuOptions:
for name in self.menu.get_all_option_names():
option = self.menu.get_option_by_name(name)
self.options_dict[name] = option.get_value()
self.options_help[name] = option.get_help()
self.options_help[name] = [ "", option.get_help() ]
def make_default_style(self, default_style):
"""
@ -1178,7 +1178,7 @@ class GuiMenuOptions:
"""
self.menu.add_option(category, name, option)
self.options_dict[name] = option.get_value()
self.options_help[name] = option.get_help()
self.options_help[name] = [ "", option.get_help() ]
def add_user_options(self, dialog):
"""