From 3ad451ef57e2ab3fc644c94d44c2de7a17cced45 Mon Sep 17 00:00:00 2001 From: Accela Zhao Date: Wed, 18 Jun 2014 17:17:03 +0800 Subject: [PATCH] Make in "ceph osd tier --help" clearer. The ceph osd tier --help info on the left always says . It is unclear which one to put on the right. $ceph osd tier --help osd tier add {-- add the tier to base pool force-nonempty} osd tier add-cache add a cache of size to existing pool ... This patch modifies description on the right to tell which : osd tier add {-- add the tier (the second force-nonempty} one) to base pool (the first one) ... Fix: http://tracker.ceph.com/issues/8256 Signed-off-by: Yilong Zhao --- src/mon/MonCommands.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 36f1e9fc7c4ec..eb63303b1689a 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -585,11 +585,13 @@ COMMAND("osd tier add " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname " \ "name=force_nonempty,type=CephChoices,strings=--force-nonempty,req=false", - "add the tier to base pool ", "osd", "rw", "cli,rest") + "add the tier (the second one) to base pool (the first one)", \ + "osd", "rw", "cli,rest") COMMAND("osd tier remove " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname", - "remove the tier from base pool ", "osd", "rw", "cli,rest") + "remove the tier (the second one) from base pool (the first one)", \ + "osd", "rw", "cli,rest") COMMAND("osd tier cache-mode " \ "name=pool,type=CephPoolname " \ "name=mode,type=CephChoices,strings=none|writeback|forward|readonly", \ @@ -606,7 +608,7 @@ COMMAND("osd tier add-cache " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname " \ "name=size,type=CephInt,range=0", \ - "add a cache of size to existing pool ", \ + "add a cache (the second one) of size to existing pool (the first one)", \ "osd", "rw", "cli,rest") /* -- 2.39.5