Skip to content

Commit 2ac6aff

Browse files
authored
Merge pull request #15 from soldni/soldni/nargs
Fix for "-s/-l" flags from cli
2 parents 67b7ec8 + bf54126 commit 2ac6aff

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "springs"
3-
version = "1.12.1"
3+
version = "1.12.2"
44
description = """\
55
A set of utilities to create and manage typed configuration files \
66
effectively, built on top of OmegaConf.\

src/springs/commandline.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class CliFlags:
129129
"CRITICAL, ERROR, WARNING, INFO, or DEBUG; defaults to WARNING"
130130
),
131131
default="WARNING",
132-
nargs=1,
133132
choices=["CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"],
134133
)
135134
debug: Flag = Flag(
@@ -159,7 +158,6 @@ class CliFlags:
159158
name="save",
160159
help="save the configuration to a YAML file and exit",
161160
default=None,
162-
nargs=1,
163161
metavar="/path/to/destination.yaml",
164162
)
165163

0 commit comments

Comments
 (0)