Revision 57d0151e scripts/gnt-cluster

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

Also available in: Unified diff