Revision a72d0a79 lib/cli.py

b/lib/cli.py
73 73
  "NONLIVE_OPT",
74 74
  "NOSTART_OPT",
75 75
  "NWSYNC_OPT",
76
  "ON_PRIMARY_OPT",
76 77
  "OS_OPT",
77 78
  "OS_SIZE_OPT",
78 79
  "SELECT_OS_OPT",
......
642 643
                               metavar="NODE", default=None,
643 644
                               completion_suggest=OPT_COMPL_ONE_NODE)
644 645

  
646
ON_PRIMARY_OPT = cli_option("-p", "--on-primary", dest="on_primary",
647
                            default=False, action="store_true",
648
                            help="Replace the disk(s) on the primary"
649
                            " node (only for the drbd template)")
650

  
645 651

  
646 652
def _ParseArgs(argv, commands, aliases):
647 653
  """Parser for the command line arguments.

Also available in: Unified diff