]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: clarify usage on single osd/mds/mon. 7641/head
authorPatrick Donnelly <batrick@batbytes.com>
Sun, 14 Feb 2016 00:31:13 +0000 (19:31 -0500)
committerPatrick Donnelly <batrick@batbytes.com>
Mon, 15 Feb 2016 19:09:45 +0000 (14:09 -0500)
vstart.sh expects the literal string "osd"/"mds"/"mon". To me, it was confusing
as I interpreted the usage hint as an optional count for each daemon.

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
src/vstart.sh

index 64c81fe5b318f42b0d5f0606123a559f48b22912..01fa7318a7c2fc72e8edcb48eb796edd4eddfc22 100755 (executable)
@@ -120,7 +120,7 @@ keyring_fn="$CEPH_CONF_PATH/keyring"
 osdmap_fn="/tmp/ceph_osdmap.$$"
 monmap_fn="/tmp/ceph_monmap.$$"
 
-usage="usage: $0 [option]... [mon] [mds] [osd]\n"
+usage="usage: $0 [option]... [\"mon\"] [\"mds\"] [\"osd\"]\n"
 usage=$usage"options:\n"
 usage=$usage"\t-d, --debug\n"
 usage=$usage"\t-s, --standby_mds: Generate standby-replay MDS for each active\n"