Skip to content

Commit 1833df1

Browse files
authored
Stop handling help parsing with argparse (#12691)
1 parent 6f6b50e commit 1833df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

localstack-core/localstack/cli/profiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def set_and_remove_profile_from_sys_argv():
3131
not passed to the localstack CLI. This allows the profile option
3232
to be set at any point on the command line.
3333
"""
34-
parser = argparse.ArgumentParser()
34+
parser = argparse.ArgumentParser(add_help=False)
3535
parser.add_argument("--profile")
3636
namespace, sys.argv = parser.parse_known_args(sys.argv)
3737
profile = namespace.profile

0 commit comments

Comments
 (0)