Skip to content

Commit

Permalink
Merge pull request #15 from soldni/soldni/nargs
Browse files Browse the repository at this point in the history
Fix for "-s/-l" flags from cli
  • Loading branch information
soldni committed Mar 16, 2023
2 parents 67b7ec8 + bf54126 commit 2ac6aff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "springs"
version = "1.12.1"
version = "1.12.2"
description = """\
A set of utilities to create and manage typed configuration files \
effectively, built on top of OmegaConf.\
Expand Down
2 changes: 0 additions & 2 deletions src/springs/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ class CliFlags:
"CRITICAL, ERROR, WARNING, INFO, or DEBUG; defaults to WARNING"
),
default="WARNING",
nargs=1,
choices=["CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"],
)
debug: Flag = Flag(
Expand Down Expand Up @@ -159,7 +158,6 @@ class CliFlags:
name="save",
help="save the configuration to a YAML file and exit",
default=None,
nargs=1,
metavar="/path/to/destination.yaml",
)

Expand Down

0 comments on commit 2ac6aff

Please sign in to comment.