Repeated settings for a given command should warn/error
Bug #1615977 reported by
Adam Collard
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Medium
|
Paul Collins |
Bug Description
For the general case of bug 1615974, Mojo should at least warn (maybe error?) when it encounters a line with > 1 setting of the same value.
Related branches
lp:~pjdc/mojo/error-on-multiple-option-values
- Hristo Erinin (community): Approve
-
Diff: 104 lines (+49/-7)3 files modifiedmojo/cli.py (+23/-6)
mojo/manifest.py (+7/-0)
mojo/tests/test_manifest.py (+19/-1)
Changed in mojo: | |
assignee: | nobody → Paul Collins (pjdc) |
Changed in mojo: | |
status: | Confirmed → In Progress |
Changed in mojo: | |
status: | In Progress → Fix Committed |
Changed in mojo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Agreed, Mojo should error on this (encountering a line with more than 1 setting of the same value) and explain why it's doing so.