vm-host parameters help is wrong

Bug #2024466 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

$ maas root vm-host parameters
usage: maas root vm-host parameters [--help] [-d] [-k] id [data ...]

Obtain VM host parameters
...
Note: This method is reserved for admin users.

the following arguments are required: id, data

However data is not required, it is not even supposed to do anything

`vm-host parameters id` returns all parameters in one output

`vm-host parameters id certificate` says
'certificate' is not a name=value or name@=filename pair

Eithr parameter command needs to support data and return just that field from the output or help should be corrected to not suggest `data` is a valid argument or that it is required argument.

To be clear parameters -h shows `data` as argument and parameters without specifying id says id and data are required arguments

Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.5.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.