From: Gu Zhongyan Date: Fri, 30 Mar 2018 10:25:51 +0000 (+0800) Subject: mon,mgr: remove single wildcard '*' from ceph comand line description X-Git-Tag: v13.1.0~130^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12b059e47a18cc9de11398b152dd2c8c64b4bee4;p=ceph.git mon,mgr: remove single wildcard '*' from ceph comand line description because wildcard doesn't work.The '*' is consumed and translated to current dir/file name before passing to ceph. remove it from CLI description. Signed-off-by: Gu Zhongyan --- diff --git a/src/mgr/MgrCommands.h b/src/mgr/MgrCommands.h index 464f37316fc9..831aacfc2e26 100644 --- a/src/mgr/MgrCommands.h +++ b/src/mgr/MgrCommands.h @@ -116,15 +116,15 @@ COMMAND("osd ok-to-stop name=ids,type=CephString,n=N", COMMAND("osd scrub " \ "name=who,type=CephString", \ - "initiate scrub on osd , or use to scrub all", \ + "initiate scrub on osd , or use to scrub all", \ "osd", "rw", "cli,rest") COMMAND("osd deep-scrub " \ "name=who,type=CephString", \ - "initiate deep scrub on osd , or use to deep scrub all", \ + "initiate deep scrub on osd , or use to deep scrub all", \ "osd", "rw", "cli,rest") COMMAND("osd repair " \ "name=who,type=CephString", \ - "initiate repair on osd , or use to repair all", \ + "initiate repair on osd , or use to repair all", \ "osd", "rw", "cli,rest") COMMAND("service dump", diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 78fbf08ad54f..f8d35a86f355 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -545,12 +545,12 @@ COMMAND("osd crush set-device-class " \ "name=class,type=CephString " \ "name=ids,type=CephString,n=N", \ "set the of the osd(s) [...]," \ - "or use to set all.", \ + "or use to set all.", \ "osd", "rw", "cli,rest") COMMAND("osd crush rm-device-class " \ "name=ids,type=CephString,n=N", \ "remove class of the osd(s) [...]," \ - "or use to remove all.", \ + "or use to remove all.", \ "osd", "rw", "cli,rest") COMMAND("osd crush class rename " \ "name=srcname,type=CephString,goodchars=[A-Za-z0-9-_] " \ @@ -752,66 +752,66 @@ COMMAND("osd cluster_snap", "take cluster snapshot (disabled)", \ COMMAND("osd down " \ "type=CephString,name=ids,n=N", \ "set osd(s) [...] down, " \ - "or use to set all osds down", \ + "or use to set all osds down", \ "osd", "rw", "cli,rest") COMMAND("osd out " \ "name=ids,type=CephString,n=N", \ "set osd(s) [...] out, " \ - "or use to set all osds out", \ + "or use to set all osds out", \ "osd", "rw", "cli,rest") COMMAND("osd in " \ "name=ids,type=CephString,n=N", \ "set osd(s) [...] in, " - "can use to automatically set all previously out osds in", \ + "can use to automatically set all previously out osds in", \ "osd", "rw", "cli,rest") COMMAND("osd rm " \ "name=ids,type=CephString,n=N", \ "remove osd(s) [...], " - "or use to remove all osds", \ + "or use to remove all osds", \ "osd", "rw", "cli,rest") COMMAND("osd add-noup " \ "name=ids,type=CephString,n=N", \ "mark osd(s) [...] as noup, " \ - "or use to mark all osds as noup", \ + "or use to mark all osds as noup", \ "osd", "rw", "cli,rest") COMMAND("osd add-nodown " \ "name=ids,type=CephString,n=N", \ "mark osd(s) [...] as nodown, " \ - "or use to mark all osds as nodown", \ + "or use to mark all osds as nodown", \ "osd", "rw", "cli,rest") COMMAND("osd add-noin " \ "name=ids,type=CephString,n=N", \ "mark osd(s) [...] as noin, " \ - "or use to mark all osds as noin", \ + "or use to mark all osds as noin", \ "osd", "rw", "cli,rest") COMMAND("osd add-noout " \ "name=ids,type=CephString,n=N", \ "mark osd(s) [...] as noout, " \ - "or use to mark all osds as noout", \ + "or use to mark all osds as noout", \ "osd", "rw", "cli,rest") COMMAND("osd rm-noup " \ "name=ids,type=CephString,n=N", \ "allow osd(s) [...] to be marked up " \ "(if they are currently marked as noup), " \ - "can use to automatically filter out all noup osds", \ + "can use to automatically filter out all noup osds", \ "osd", "rw", "cli,rest") COMMAND("osd rm-nodown " \ "name=ids,type=CephString,n=N", \ "allow osd(s) [...] to be marked down " \ "(if they are currently marked as nodown), " \ - "can use to automatically filter out all nodown osds", \ + "can use to automatically filter out all nodown osds", \ "osd", "rw", "cli,rest") COMMAND("osd rm-noin " \ "name=ids,type=CephString,n=N", \ "allow osd(s) [...] to be marked in " \ "(if they are currently marked as noin), " \ - "can use to automatically filter out all noin osds", \ + "can use to automatically filter out all noin osds", \ "osd", "rw", "cli,rest") COMMAND("osd rm-noout " \ "name=ids,type=CephString,n=N", \ "allow osd(s) [...] to be marked out " \ "(if they are currently marked as noout), " \ - "can use to automatically filter out all noout osds", \ + "can use to automatically filter out all noout osds", \ "osd", "rw", "cli,rest") COMMAND("osd reweight " \ "name=id,type=CephOsdName " \