Revision 9a033156 scripts/gnt-cluster

b/scripts/gnt-cluster
359 359
                             " (cluster-wide)",
360 360
                        action="store_false", default=True,),
361 361
            ],
362
           "[opts...] <cluster_name>",
362 363
           "Initialises a new cluster configuration"),
363 364
  'destroy': (DestroyCluster, ARGS_NONE,
364 365
              [DEBUG_OPT,
......
366 367
                           help="Destroy cluster",
367 368
                           action="store_true"),
368 369
              ],
369
              "Destroy cluster"),
370
              "", "Destroy cluster"),
370 371
  'rename': (RenameCluster, ARGS_ONE, [DEBUG_OPT, FORCE_OPT],
372
               "<new_name>",
371 373
               "Renames the cluster"),
372 374
  'verify': (VerifyCluster, ARGS_NONE, [DEBUG_OPT,
373 375
             make_option("--no-nplus1-mem", dest="skip_nplusone_mem",
......
375 377
                         action="store_true",
376 378
                         default=False,),
377 379
             ],
378
             "Does a check on the cluster configuration"),
380
             "", "Does a check on the cluster configuration"),
379 381
  'verify-disks': (VerifyDisks, ARGS_NONE, [DEBUG_OPT],
380
                   "Does a check on the cluster disk status"),
382
                   "", "Does a check on the cluster disk status"),
381 383
  'masterfailover': (MasterFailover, ARGS_NONE, [DEBUG_OPT],
382
                     "Makes the current node the master"),
384
                     "", "Makes the current node the master"),
383 385
  'version': (ShowClusterVersion, ARGS_NONE, [DEBUG_OPT],
384
              "Shows the cluster version"),
386
              "", "Shows the cluster version"),
385 387
  'getmaster': (ShowClusterMaster, ARGS_NONE, [DEBUG_OPT],
386
                "Shows the cluster master"),
388
                "", "Shows the cluster master"),
387 389
  'copyfile': (ClusterCopyFile, ARGS_ONE, [DEBUG_OPT, node_option],
390
               "[-n node...] <filename>",
388 391
               "Copies a file to all (or only some) nodes"),
389 392
  'command': (RunClusterCommand, ARGS_ATLEAST(1), [DEBUG_OPT, node_option],
393
              "[-n node...] <command>",
390 394
              "Runs a command on all (or only some) nodes"),
391 395
  'info': (ShowClusterConfig, ARGS_NONE, [DEBUG_OPT],
392
                 "Show cluster configuration"),
396
                 "", "Show cluster configuration"),
393 397
  'list-tags': (ListTags, ARGS_NONE,
394
                [DEBUG_OPT], "List the tags of the cluster"),
398
                [DEBUG_OPT], "", "List the tags of the cluster"),
395 399
  'add-tags': (AddTags, ARGS_ANY, [DEBUG_OPT, TAG_SRC_OPT],
396
               "Add tags to the cluster"),
400
               "tag...", "Add tags to the cluster"),
397 401
  'remove-tags': (RemoveTags, ARGS_ANY, [DEBUG_OPT, TAG_SRC_OPT],
398
                  "Remove tags from the cluster"),
402
                  "tag...", "Remove tags from the cluster"),
399 403
  'search-tags': (SearchTags, ARGS_ONE,
400
                  [DEBUG_OPT], "Searches the tags on all objects on"
404
                  [DEBUG_OPT], "", "Searches the tags on all objects on"
401 405
                  " the cluster for a given pattern (regex)"),
402 406
  'modify': (SetClusterParams, ARGS_NONE,
403 407
             [DEBUG_OPT,

Also available in: Unified diff