]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMonitor: ceph pg ls-by-pool only supports string type of pool arg 12807/head
authorrunsisi <runsisi@zte.com.cn>
Fri, 6 Jan 2017 03:04:20 +0000 (11:04 +0800)
committerrunsisi <runsisi@zte.com.cn>
Tue, 17 Jan 2017 01:56:40 +0000 (09:56 +0800)
Signed-off-by: runsisi <runsisi@zte.com.cn>
doc/man/8/ceph.rst
src/mon/MonCommands.h

index 67ed69889b009abd188ad6083a4d5e8d9a560b74..f878f882525266c44abcde309f8927ada743f334 100644 (file)
@@ -1112,7 +1112,7 @@ Usage::
        deep_scrub|backfill|backfill_toofull|recovery_wait|
        undersized...]}
 
-Subcommand ``ls-by-pool`` lists pg with pool = [poolname | poolid]
+Subcommand ``ls-by-pool`` lists pg with pool = [poolname]
 
 Usage::
 
index f803fcac28a7101ef3fba32ebee203c335f7c686..c6f731bab494c57a85d301e1c0c54c600d4c6782 100644 (file)
@@ -142,7 +142,7 @@ COMMAND("pg dump_stuck " \
 COMMAND("pg ls-by-pool " \
         "name=poolstr,type=CephString " \
        "name=states,type=CephChoices,strings=active|clean|down|replay|scrubbing|degraded|inconsistent|peering|repair|recovering|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized|activating|peered,n=N,req=false ", \
-       "list pg with pool = [poolname | poolid]", "pg", "r", "cli,rest")
+       "list pg with pool = [poolname]", "pg", "r", "cli,rest")
 COMMAND("pg ls-by-primary " \
         "name=osd,type=CephOsdName " \
         "name=pool,type=CephInt,req=false " \