diff --git a/ChangeLog b/ChangeLog index 3fefcb839..759cf11c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,17 @@ +2008-03-05 Raphael Ackermann + * src/ReportBase/_CommandLineReport.py: print warning if show=option is + not a valid option. Addresses some of 0001891. + 2008-03-05 Jerome Rapinat - * src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog + * src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog 2008-03-05 Douglas S. Blank * src/docgen/TextBufDoc.py: fixed translations of Quick View * src/plugins/References.py: fixed translations of ref types 2008-03-05 Ɓukasz Rymarczyk - * src/plugins/rel_pl.py: 0001776: Relationship calculator, update Polish - Rewritten for 3.x version + * src/plugins/rel_pl.py: 0001776: Relationship calculator, update Polish + Rewritten for 3.x version 2008-03-04 Douglas S. Blank * src/Simple/_SimpleTable.py: @@ -29,16 +33,16 @@ Fixed indentation issue 2008-03-04 Raphael Ackermann - * src/Bookmarks.py: 0001770: Bookmark Editor window and deleting entries - Set focus on bookmark right above the deleted bookmark - * src/gramps.py: comment typo - * src/ListModel.py: fix, changed func((param)) to func(param) + * src/Bookmarks.py: 0001770: Bookmark Editor window and deleting entries + Set focus on bookmark right above the deleted bookmark + * src/gramps.py: comment typo + * src/ListModel.py: fix, changed func((param)) to func(param) 2008-03-04 Peter Landgren - * src/docgen/HtmlDoc.py: Issues 1875 and 1879# + * src/docgen/HtmlDoc.py: Issues 1875 and 1879# 2008-03-04 Raphael Ackermann - * src/plugins/WritePkg.py: added import Utils to prevent crash on export + * src/plugins/WritePkg.py: added import Utils to prevent crash on export 2008-03-04 Douglas S. Blank * src/DataViews/GrampletView.py: added infrastructure for diff --git a/src/ReportBase/_CommandLineReport.py b/src/ReportBase/_CommandLineReport.py index 791ea0939..a7ee24001 100644 --- a/src/ReportBase/_CommandLineReport.py +++ b/src/ReportBase/_CommandLineReport.py @@ -3,6 +3,7 @@ # # Copyright (C) 2001-2007 Donald N. Allingham # Copyright (C) 2008 Lukasz Rymarczyk +# Copyright (C) 2008 Raphael Ackermann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -55,7 +56,7 @@ import const #------------------------------------------------------------------------ def _validate_options(options, dbase): """ - Validates all options by making sure that their values are consistent with + Validate all options by making sure that their values are consistent with the database. menu: The Menu class @@ -355,7 +356,9 @@ class CommandLineReport: print " %s" % self.options_help[self.show][2] else: - self.show = None + #there was a show option given, but the option is invalid + print ("option %s not valid. Use 'show=all' to see all valid " + "options." % self.show) #------------------------------------------------------------------------ #