boolean flag --dump-state expects argument
Bug #1987951 reported by
Mert Kirpici
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Fix Released
|
Medium
|
Mert Kirpici |
Bug Description
Currently the functionally boolean flag "--dump-state" expects an argument whereas according to the usage string, it should not. It only signals the app to dump the output into --output-dir.
miles@t440:
usage: juju-lint [-h] [-l [LOGGING.LOGLEVEL]] [-d [OUTPUT.FOLDER]] [--dump-state OUTPUT.DUMP] [-c RULES.FILE] [-t CLOUD-TYPE] [-o OVERRIDE.
juju-lint: error: argument --dump-state: expected one argument
Related branches
~mertkirpici/juju-lint:lp/1987951
- Gabriel Cocenza: Approve
- Martin Kalcok (community): Approve
- Eric Chen: Approve
- BootStack Reviewers: Pending requested
-
Diff: 306 lines (+158/-14)7 files modifiedjujulint/cli.py (+24/-5)
jujulint/config.py (+13/-7)
jujulint/util.py (+14/-0)
tests/functional/conftest.py (+21/-0)
tests/functional/test_jujulint.py (+47/-0)
tests/unit/conftest.py (+1/-0)
tests/unit/test_cli.py (+38/-2)
Changed in juju-lint: | |
status: | New → In Progress |
assignee: | nobody → Mert Kirpici (mertkirpici) |
Changed in juju-lint: | |
milestone: | none → 1.0.4 |
Changed in juju-lint: | |
status: | In Progress → Fix Committed |
Changed in juju-lint: | |
importance: | Undecided → Medium |
Changed in juju-lint: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.