Skip to content

Commit ed87ce5

Browse files
committed
cosalib/cli: drop unused --dump argument
It's been unused since it was introduced in ea00b56.
1 parent 679e8c8 commit ed87ce5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/cosalib/cli.py

-3
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ def __init__(self, *args, **kwargs):
147147
self.add_argument(
148148
'--buildroot', env_var="BUILD_ROOT", default='builds',
149149
help='Build directory')
150-
self.add_argument(
151-
'--dump', default=False, action='store_true',
152-
help='Dump the manfiest and exit')
153150
self.add_argument(
154151
'--schema', env_var="META_SCHEMA",
155152
default='/usr/lib/coreos-assembler/v1.json',

tests/test_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_build_cli_additional_args():
3737
Ensure that BuildCli contains the expected additional default args
3838
"""
3939
parser = BuildCli()
40-
expected = ['--build', '--buildroot', '--dump']
40+
expected = ['--build', '--buildroot']
4141
for action in parser._actions:
4242
for expect in expected:
4343
if expect in action.option_strings:

0 commit comments

Comments
 (0)