Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Usage help info needs updating #188

@mixologee

Description

@mixologee

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

  1. pyvmc.py inventory show-inv-group -h
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions