diff --git a/gramps/gen/const.py b/gramps/gen/const.py index 614829f71..db0123d38 100644 --- a/gramps/gen/const.py +++ b/gramps/gen/const.py @@ -266,7 +266,6 @@ LONGOPTS = [ "class=", "config=", "debug=", - "databases", "display=", "disable-sound", "disable-crash-dialog", @@ -301,12 +300,11 @@ LONGOPTS = [ "remove=", "usage", "version", - "qml", "yes", "quiet", ] -SHORTOPTS = "O:C:i:e:f:a:p:d:c:r:blLthuv?syq" +SHORTOPTS = "O:C:i:e:f:a:p:d:c:r:lLthuv?syq" GRAMPS_UUID = uuid.UUID('516cd010-5a41-470f-99f8-eb22f1098ad6') diff --git a/gramps/gen/plug/docgen/graphicstyle.py b/gramps/gen/plug/docgen/graphicstyle.py index 787ea360e..aaa28733d 100644 --- a/gramps/gen/plug/docgen/graphicstyle.py +++ b/gramps/gen/plug/docgen/graphicstyle.py @@ -108,13 +108,13 @@ class GraphicsStyle: def set_description(self, text): """ - Set the desciption of the graphics object + Set the description of the graphics object """ self.description = text def get_description(self): """ - Return the desciption of the graphics object + Return the description of the graphics object """ return self.description diff --git a/gramps/gen/plug/docgen/paragraphstyle.py b/gramps/gen/plug/docgen/paragraphstyle.py index 55791068a..e0586384f 100644 --- a/gramps/gen/plug/docgen/paragraphstyle.py +++ b/gramps/gen/plug/docgen/paragraphstyle.py @@ -108,13 +108,13 @@ class ParagraphStyle: def set_description(self, text): """ - Set the desciption of the paragraph + Set the description of the paragraph """ self.description = text def get_description(self): """ - Return the desciption of the paragraph + Return the description of the paragraph """ return self.description diff --git a/gramps/gen/plug/docgen/stylesheet.py b/gramps/gen/plug/docgen/stylesheet.py index 0e1502034..a5b260c6b 100644 --- a/gramps/gen/plug/docgen/stylesheet.py +++ b/gramps/gen/plug/docgen/stylesheet.py @@ -7,6 +7,7 @@ # Copyright (C) 2009 Benny Malengier # Copyright (C) 2009 Gary Burton # Copyright (C) 2014 Nick Hall +# Copyright (C) 2017 Paul Franklin # # 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 @@ -185,7 +186,8 @@ class StyleSheetList: # Write out style definition xml_file.write( ' \n') @@ -236,7 +240,9 @@ class StyleSheetList: # Write out style definition xml_file.write( '