From 6b6fa693499827b6bddf5a17d0787315ab3c5011 Mon Sep 17 00:00:00 2001 From: Mohit Motiani Date: Sun, 15 May 2016 14:36:57 +0000 Subject: [PATCH] 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 --- bin/swift-init | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/swift-init b/bin/swift-init index c8e0aef5c6..a5304e7f3f 100755 --- a/bin/swift-init +++ b/bin/swift-init @@ -26,6 +26,14 @@ USAGE = \ where: is the name of a swift service e.g. proxy-server. 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) is an explicit configuration filename without the .conf extension. If is specified then should refer to a directory containing the configuration file, e.g.: