set type to string for language option

This commit is contained in:
Robin van Genderen 2019-05-02 13:12:14 +02:00
parent 8381c1b700
commit 20896cbbc2

View File

@ -75,7 +75,7 @@ def opt_args(print_help=None):
# WebApp setting option group # WebApp setting option group
group = OptionGroup(parser, "webapp-settings", "") group = OptionGroup(parser, "webapp-settings", "")
group.add_option("--language", dest="language", action="store", help="Set new language (e.g. en_GB or nl_NL)") group.add_option("--language", dest="language", action="store", type="string", help="Set new language (e.g. en_GB or nl_NL)")
group.add_option("--theme", dest="theme", action="store", help="Change theme (e.g. dark)") group.add_option("--theme", dest="theme", action="store", help="Change theme (e.g. dark)")
group.add_option("--free-busy", dest="freebusy", action="store", help="Change free/busy time span in months") group.add_option("--free-busy", dest="freebusy", action="store", help="Change free/busy time span in months")
group.add_option("--icons", dest="icons", action="store", help="Change icons (e.g. breeze)") group.add_option("--icons", dest="icons", action="store", help="Change icons (e.g. breeze)")