Skip to content

Commit

Permalink
Merge pull request #130 from epichub/master
Browse files Browse the repository at this point in the history
fixed bugs where first openconnect arg is deleted
  • Loading branch information
vlaci committed Jul 14, 2023
2 parents 008d948 + 054898f commit 7e728cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openconnect_sso/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7e728cf

Please sign in to comment.