Revision 9a033156 scripts/gnt-node

b/scripts/gnt-node
295 295
                       default=False, action="store_true",
296 296
                       help="Readd old node after replacing it"),
297 297
           ],
298
          "Add a node to the cluster"),
298
          "[-s ip] <node_name>", "Add a node to the cluster"),
299 299
  'evacuate': (EvacuateNode, ARGS_FIXED(2),
300 300
               [DEBUG_OPT, FORCE_OPT],
301
               "[-f] <src> <dst>",
301 302
               "Relocate the secondary instances from the first node"
302 303
               " to the second one (only for instances of type remote_raid1"
303 304
               " drbd)"),
......
308 309
                            help="Ignore the consistency of the disks on"
309 310
                            " the secondary"),
310 311
                ],
312
               "[-f] <node>",
311 313
               "Stops the primary instances on a node and start them on their"
312 314
               " secondary node (only for instances of type remote_raid1)"),
313 315
  'info': (ShowNodeConfig, ARGS_ANY, [DEBUG_OPT],
314
           "Show information about the node(s)"),
316
           "[<node_name>...]", "Show information about the node(s)"),
315 317
  'list': (ListNodes, ARGS_NONE,
316 318
           [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT],
317
           "Lists the nodes in the cluster. The available fields"
319
           "", "Lists the nodes in the cluster. The available fields"
318 320
           " are (see the man page for details): name, pinst_cnt, pinst_list,"
319 321
           " sinst_cnt, sinst_list, pip, sip, dtotal, dfree, mtotal, mnode,"
320 322
           " mfree, bootid, cpu_count. The default field list is"
321 323
           " (in order): %s." % ", ".join(_LIST_DEF_FIELDS),
322 324
           ),
323 325
  'remove': (RemoveNode, ARGS_ONE, [DEBUG_OPT],
324
             "Removes a node from the cluster"),
326
             "<node_name>", "Removes a node from the cluster"),
325 327
  'volumes': (ListVolumes, ARGS_ANY,
326 328
              [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT],
327
              "List logical volumes on node(s)"),
329
              "[<node_name>...]", "List logical volumes on node(s)"),
328 330
  'list-tags': (ListTags, ARGS_ONE, [DEBUG_OPT],
329
                "List the tags of the given node"),
331
                "<node_name>", "List the tags of the given node"),
330 332
  'add-tags': (AddTags, ARGS_ATLEAST(1), [DEBUG_OPT, TAG_SRC_OPT],
331
               "Add tags to the given node"),
333
               "<node_name> tag...", "Add tags to the given node"),
332 334
  'remove-tags': (RemoveTags, ARGS_ATLEAST(1), [DEBUG_OPT, TAG_SRC_OPT],
333
                  "Remove tags from the given node"),
335
                  "<node_name> tag...", "Remove tags from the given node"),
334 336
  }
335 337

  
336 338

  

Also available in: Unified diff