Update All Show and Delete Commands Help Text to display preference of Resource ID over Resource Name
All Show and Delete Commands Help Text should be updated to display preference of Resource ID over Resource Name. Because ID is more significant to locate the resource.
Now whenever we execute the "openstack help" for any delete or show commands, If there is support to pass either name or id of the resource, then it displays the following info :-
-------
# openstack help volume show
usage: openstack volume show [-h] [-f {json,shell,
Display volume details
positional arguments:
<volume-id> Volume to display (name or ID)
optional arguments:
-h, --help show this help message and exit
-------
Here instead of displaying only the info as :-
"name or ID"
,help text should display also the information about mechanism of reference resolution as following text :-
"name or ID. System tries to fetch the resource by considering the Argument as ID first, If it doesn't find then, System will try to fetch the resource by considering the argument as Resource Name"
It will help to remove the ambiguity related with the "reference resolution mechanism" of the Show and Delete Commands in OpenStack Clients.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- sandeep nandal
- Direction:
- Needs approval
- Assignee:
- sandeep nandal
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by