diff --git a/openconnect_sso/cli.py b/openconnect_sso/cli.py index f362c2c..58457f7 100755 --- a/openconnect_sso/cli.py +++ b/openconnect_sso/cli.py @@ -122,7 +122,7 @@ class StoreOpenConnectArgs(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): if "--" in values: values.remove("--") - setattr(namespace, self.dest, values[1:]) + setattr(namespace, self.dest, values[0:]) class LogLevel(enum.IntEnum):