made window mode case insensitive
This commit is contained in:
@ -27,7 +27,7 @@ def handle_clargs():
|
||||
|
||||
parser.add_argument("-e", "--examples", dest="add_examples", action="store_true", help="Add example data")
|
||||
|
||||
parser.add_argument("-w", "--window-mode", default="multi", choices=MDIWindowMode.values(), help="Set the initial window mode")
|
||||
parser.add_argument("-w", "--window-mode", default="multi", choices=MDIWindowMode.values(), type=str.casefold, help="Set the initial window mode")
|
||||
|
||||
return parser.parse_args().__dict__
|
||||
|
||||
|
Reference in New Issue
Block a user