swift-ring-builder: Updated help for list_parts
This commit is contained in:
parent
529b8a5956
commit
2d3f409190
@ -233,9 +233,12 @@ swift-ring-builder <builder_file> search <search-value>
|
|||||||
def list_parts():
|
def list_parts():
|
||||||
"""
|
"""
|
||||||
swift-ring-builder <builder_file> list_parts <search-value> [<search-value>] ..
|
swift-ring-builder <builder_file> list_parts <search-value> [<search-value>] ..
|
||||||
Lists the common partitions for the matching devices, in order of partition
|
Returns a 2 column list of all the partitions that are assigned to any of
|
||||||
most matching to least matching. If there are a lot of devices to match
|
the devices matching the search values given. The first column is the
|
||||||
against, this command could take a while to run.
|
assigned partition number and the second column is the number of device
|
||||||
|
matches for that partition. The list is ordered from most number of matches
|
||||||
|
to least. If there are a lot of devices to match against, this command
|
||||||
|
could take a while to run.
|
||||||
"""
|
"""
|
||||||
if len(argv) < 4:
|
if len(argv) < 4:
|
||||||
print Commands.list_parts.__doc__.strip()
|
print Commands.list_parts.__doc__.strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user