diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-03-29 13:42:45 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-03-29 13:54:37 +0200 |
commit | e81c38f098a5fb71c2e9238354fdfc658f413743 (patch) | |
tree | 584deb6591be0e9f449ca959786a2b0b49219f84 /cli/__init__.py | |
parent | 0f55ce73415465d01f3490a8b1e770d116210eda (diff) |
Fix help messages
program name of subsequent parsers after the first one need their
"prog=" parameter specified so they do not show sys.argv[0] only.
With this patch, for example:
ogcli list --help
Shows:
usage: ogcli list [-h] {clients,scopes,modes,hardware,client}
...
Instead of:
usage: ogcli [-h] {clients,scopes,modes,hardware,client}
...
Diffstat (limited to 'cli/__init__.py')
0 files changed, 0 insertions, 0 deletions