[cli] Do not set type for --no-wine argument

Fixes #46
This commit is contained in:
derrod 2020-05-27 21:18:02 +02:00
parent e083b6f9b5
commit f3f86836c8

View file

@ -850,7 +850,7 @@ def main():
launch_parser.add_argument('--wine-prefix', dest='wine_pfx', action='store', metavar='<wine pfx path>', launch_parser.add_argument('--wine-prefix', dest='wine_pfx', action='store', metavar='<wine pfx path>',
default=os.environ.get('LGDRY_WINE_PREFIX', None), default=os.environ.get('LGDRY_WINE_PREFIX', None),
help='Override WINE prefix used.') help='Override WINE prefix used.')
launch_parser.add_argument('--no-wine', dest='no_wine', action='store_true', type=bool, launch_parser.add_argument('--no-wine', dest='no_wine', action='store_true',
default=strtobool(os.environ.get('LGDRY_NO_WINE', 'False')), default=strtobool(os.environ.get('LGDRY_NO_WINE', 'False')),
help='Do not use WINE (e.g. if a wrapper is being used)') help='Do not use WINE (e.g. if a wrapper is being used)')
else: else: