Commit e1a81425 authored by Nicolas Wavrant's avatar Nicolas Wavrant Committed by Rafael Monnerat

cli: minor improvements in commands' help messages

* --token ask in "slapos configure client" is not supported ("ask" is interpreted
     as the argument value, iow the token)
   * node_name : a node name is an unknown concept. On slapos.vifib.com interface, the
     nodes have titles and references

/reviewed-on !158
parent f2798c25
...@@ -59,7 +59,7 @@ class ConfigureClientCommand(ClientConfigCommand): ...@@ -59,7 +59,7 @@ class ConfigureClientCommand(ClientConfigCommand):
ap.add_argument('--token', ap.add_argument('--token',
help="SlapOS 'credential security' authentication token " help="SlapOS 'credential security' authentication token "
"(use '--token ask' for interactive prompt)") "(if this parameter is omitted, the token will be prompted during configuration)")
return ap return ap
......
...@@ -59,7 +59,7 @@ class RegisterCommand(Command): ...@@ -59,7 +59,7 @@ class RegisterCommand(Command):
ap = super(RegisterCommand, self).get_parser(prog_name) ap = super(RegisterCommand, self).get_parser(prog_name)
ap.add_argument('node_name', ap.add_argument('node_name',
help='Name of the node') help='Chosen title for the node')
ap.add_argument('--interface-name', ap.add_argument('--interface-name',
default='eth0', default='eth0',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment