-
Notifications
You must be signed in to change notification settings - Fork 18
Usage help info needs updating #188
Description
Describe the bug
pyvmc.py inventory show-inv-group -h
usage: inventory show-inv-group [-h] [--oauth [OAUTH]] [--nsxm [NSXM]] [-n OBJECTNAME] [{cgw,mgw,both}]
positional arguments:
{cgw,mgw,both} Show the inventory groups associated with the MGW or CGW gateways.
options:
-h, --help show this help message and exit
--oauth [OAUTH] Used to specify use of OAuth app ID and secret in config.ini instead of 'refresh_token'
(default).
--nsxm [NSXM] Used to specify NSX Manager instead of NSX proxy (Default).
-n OBJECTNAME, --objectname OBJECTNAME
The name of the inventory group to retrieve details for. Use 'pyVMC.py inventory show-group'
for a complete list.
pyvmc.py inventory show-inv-group-association -h
usage: inventory show-inv-group-association [-h] [--oauth [OAUTH]] [--nsxm [NSXM]] {cgw,mgw} objectname
positional arguments:
{cgw,mgw} Show the inventory groups associated with the MGW or CGW gateways.
objectname The name of the inventory group to retrieve details for. Use 'pyVMC.py inventory show-group' for a
complete list.
options:
-h, --help show this help message and exit
--oauth [OAUTH] Used to specify use of OAuth app ID and secret in config.ini instead of 'refresh_token' (default).
--nsxm [NSXM] Used to specify NSX Manager instead of NSX proxy (Default).
Reproduction steps
- pyvmc.py inventory show-inv-group -h
- pyvmc.py inventory show-inv-group-association -h
Expected behavior
pyvmc.py inventory show-inv-group -h
usage: inventory show-inv-group [-h] [--oauth [OAUTH]] [--nsxm [NSXM]] [-n OBJECTNAME] [{cgw,mgw,both}]
positional arguments:
{cgw,mgw,both} Show the inventory groups associated with the MGW or CGW gateways.
options:
-h, --help show this help message and exit
--oauth [OAUTH] Used to specify use of OAuth app ID and secret in config.ini instead of 'refresh_token'
(default).
--nsxm [NSXM] Used to specify NSX Manager instead of NSX proxy (Default).
-n OBJECTNAME, --objectname OBJECTNAME
The name of the inventory group to retrieve details for. Use 'pyVMC.py inventory show-inv-group'
for a complete list.
pyvmc.py inventory show-inv-group-association -h
usage: inventory show-inv-group-association [-h] [--oauth [OAUTH]] [--nsxm [NSXM]] {cgw,mgw} objectname
positional arguments:
{cgw,mgw} Show the inventory groups associated with the MGW or CGW gateways.
objectname The name of the inventory group to retrieve details for. Use 'pyVMC.py inventory show-inv-group' for a
complete list.
options:
-h, --help show this help message and exit
--oauth [OAUTH] Used to specify use of OAuth app ID and secret in config.ini instead of 'refresh_token' (default).
--nsxm [NSXM] Used to specify NSX Manager instead of NSX proxy (Default).
Additional context
Just cleanup of usage help. Functionality not impacted.