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

@@ -737,7 +737,7 @@ class ArgHandler:
category = item[1]
report_class = item[2]
options_class = item[3]
if category in (CATEGORY_BOOK, CATEGORY_CODE, CATEGORY_WEB):
if category in (CATEGORY_BOOK, CATEGORY_CODE):
options_class(self.state.db, name, category,
options_str_dict)
else: