From f3f86836c8373b7828241b3d218ed442042e15b4 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 27 May 2020 21:18:02 +0200 Subject: [PATCH] [cli] Do not set type for --no-wine argument Fixes #46 --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 1cd6904..8257f89 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -850,7 +850,7 @@ def main(): launch_parser.add_argument('--wine-prefix', dest='wine_pfx', action='store', metavar='', default=os.environ.get('LGDRY_WINE_PREFIX', None), 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')), help='Do not use WINE (e.g. if a wrapper is being used)') else: