]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: add the right bracket to watch-channel argument in the help message 19698/head
authorChang Liu <liuchang0812@gmail.com>
Wed, 27 Dec 2017 06:57:29 +0000 (14:57 +0800)
committerChang Liu <liuchang0812@gmail.com>
Thu, 28 Dec 2017 02:58:08 +0000 (10:58 +0800)
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
src/ceph.in

index 79bec56261dc05beb01557fc8aca1b310ed66f8a..d5df0103506cac926fbd5390687738cd16c4a925 100755 (executable)
@@ -296,8 +296,9 @@ def parse_cmdargs(args=None, target=''):
                         help='watch error events')
 
     parser.add_argument('--watch-channel', dest="watch_channel",
+                        choices=['cluster', 'audit', '*'],
                         help="which log channel to follow " \
-                        "when using -w/--watch.  One of ['cluster', 'audit', '*'",
+                        "when using -w/--watch.  One of ['cluster', 'audit', '*']",
                         default='cluster')
 
     parser.add_argument('--version', '-v', action="store_true", help="display version")