Add description of server options (all, main, rest) for swift-init help

Running swift-init with -h, --help, or no arguments
displays help for the command. The help does not
document the 'main', 'all', and 'rest' options.
These are documented in the man page.

This patch adds all these server options in the
help of swift-init.

Change-Id: I8e27589912ae72ace14c955e66b86942bc23d9f7
Closes-Bug: #1580722
This commit is contained in:
Mohit Motiani 2016-05-15 14:36:57 +00:00 committed by Thiago da Silva
parent ae2b7a0ce8
commit 6b6fa69349

View File

@ -26,6 +26,14 @@ USAGE = \
where: where:
<server> is the name of a swift service e.g. proxy-server. <server> is the name of a swift service e.g. proxy-server.
The '-server' part of the name may be omitted. The '-server' part of the name may be omitted.
'all', 'main' and 'rest' are reserved words that represent a
group of services.
all: Expands to all swift daemons.
main: Expands to main swift daemons.
(proxy, container, account, object)
rest: Expands to all remaining background daemons (beyond
"main").
(updater, replicator, auditor, etc)
<config> is an explicit configuration filename without the <config> is an explicit configuration filename without the
.conf extension. If <config> is specified then <server> should .conf extension. If <config> is specified then <server> should
refer to a directory containing the configuration file, e.g.: refer to a directory containing the configuration file, e.g.: