A mistake in the help message of swift-ring-builder remove
Bug #1545016 reported by
Mingyu Li
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
Unassigned |
Bug Description
If you type “swift-ring-builder <builder_file> remove” in the command line, it will return the help message as shown below:
swift-ring-builder <builder_file> remove <search-value> [search-value ...]
or
swift-ring-builder <builder_file> search
--region <region> --zone <zone> --ip <ip or hostname> --port <port>
...
Apparently, the word "search" should be "remove" here.
This bug affects almost all the active branches of Swift including stable/kilo, stable/liberty and master.
description: | updated |
Changed in swift: | |
assignee: | nobody → Mingyu Li (mingyu-li-cn) |
Changed in swift: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
yup, for sure - probably some code is trying to be DRY and borrow the help text from the search command - it can probably be turned into a template and the two commands can format it with the right "command"