Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.1, 3.0.1
-
Security Level: Public
-
None
-
Untriaged
-
Unknown
-
KV: Dec 7 - Dec 25
Description
When you run the incorrect command below, the error message could be better:
cbstats cb1:11211 all bucket password
|
Too many args, given ['bucket', 'password'], but expected a maximum of 0
|
Maybe something like this:
Too many arguments given was not expecting: ['bucket', 'password']
|
Then print the usage text again so the user can see the options.
Attachments
For Gerrit Dashboard: MB-12934 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
57730,2 | MB-12934: cbstats: Improve error message when too many arguments given | master | ep-engine | Status: MERGED | +2 | +1 |