In the help msg of command host-evacuate,replace the optional arguments '--target_host' with '--target-host' more appropriate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
xiewj |
Bug Description
In the help msg of command host-evacuate,
[root@devstack162 devstack]# nova help host-evacuate
usage: nova host-evacuate [--target_host <target_host>] [--force] <host>
Evacuate all instances from failed host.
Positional arguments:
<host> Name of host.
Optional arguments:
--target_host <target_host> Name of target host. If no host is specified
--force Force to not verify the scheduler if a host is
In the help information of other commands,never seen arguments with a '-' connection.People accustomed to the use of the '-'
[root@devstack162 devstack]# nova host-evacuate tecsovs --target-host host1
usage: nova [--version] [--debug] [--os-cache] [--timings]
error: unrecognized arguments: --target-host host1
Try 'nova help ' for more information.
[root@devstack162 devstack]#
Changed in nova: | |
assignee: | nobody → xiewj (36429515-3) |
That's definitly not a bug, rather a nit about the option.