~allenap/maas-test/configure-abstract

« back to all changes in this revision

Viewing changes to maastest/parser.py

  • Committer: Gavin Panella
  • Date: 2013-11-26 14:06:29 UTC
  • Revision ID: gavin.panella@canonical.com-20131126140629-azaf206ngee6ra08
Improve metavars.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
         "the machine's interface on which the node under test should "
52
52
         "be plugged-in.")
53
53
parser.add_argument(
54
 
    '--archive', type=text_type,
 
54
    '--archive', type=text_type, metavar="URL",
55
55
    help="An optional repository name. If provided, the repository will "
56
56
         "be added onto the virtual machine. That value is passed "
57
57
         "on to `add-apt-repository` so it can be either a "
78
78
    "the node under test. Required when --interactive has not been "
79
79
    "specified.")
80
80
bmc_details.add_argument(
81
 
    '--bmc-mac', type=text_type,
 
81
    '--bmc-mac', type=text_type, metavar="MAC",
82
82
    help="The MAC address of the node's BMC. This will be used to "
83
83
         "power up the node to enlist it.")
84
84
bmc_details.add_argument(
85
 
    '--bmc-username', type=text_type,
 
85
    '--bmc-username', type=text_type, metavar="USERNAME",
86
86
    help="The username to use when authenticating with the node's BMC. "
87
87
         "This will be used to power up the node to enlist it.")
88
88
bmc_details.add_argument(
89
 
    '--bmc-password', type=text_type,
 
89
    '--bmc-password', type=text_type, metavar="PASSWORD",
90
90
    help="The password to use when authenticating with the node's BMC. "
91
91
         "This will be used to power up the node to enlist it.")
92
92