tmp fix for missing 'fractal' option in sparse layout

(fractal makes sense only in classic (matrix) layout)
This commit is contained in:
George Tzoumas 2017-01-08 02:12:21 +01:00
parent 91d922cb2e
commit 849a082a12
2 changed files with 13 additions and 10 deletions

View File

@ -29,6 +29,7 @@ from datetime import date, timedelta
import _base
# TODO: merge with base parser...
def get_parser(layout_name):
"""get the parser object for the layout command-line arguments
@ -67,6 +68,8 @@ def get_parser(layout_name):
help="make background opaque (white fill)")
parser.add_option("--swap-colors", action="store_true", default=False,
help="swap month colors for even/odd years")
parser.add_option("--fractal", action="store_true", default=False,
help=optparse.SUPPRESS_HELP)
return parser
parser = get_parser(__name__)