boolean flag --dump-state expects argument

Bug #1987951 reported by Mert Kirpici
6
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:~/repo/juju-lint$ juju-lint --dump-state -d /tmp/out -c contrib/fcb-yoga-focal.yaml -t openstack
usage: juju-lint [-h] [-l [LOGGING.LOGLEVEL]] [-d [OUTPUT.FOLDER]] [--dump-state OUTPUT.DUMP] [-c RULES.FILE] [-t CLOUD-TYPE] [-o OVERRIDE.SUBORDINATE] [--logfile LOGGING.FILE] [--format {text,json}]
                 [manual-file]
juju-lint: error: argument --dump-state: expected one argument

Related branches

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.