Gustavo Herzmann 50b1e1f6a1 Fix subcommand help and no-auth verification
This commit fixes the -h/--help functionality for subcommands.
Previously, using -h/--help with subcommands returned the help message
for the base dcmanager command. Now, it correctly displays the help
output specific to the subcommand, as if you had used 'dcmanager help
<subcommand>'.

Additionally, this commit improves the no-auth verification for help
and bash completion commands, resolving an issue where the help
command for subcommands required authentication.

Test Plan:
1. PASS: Verify that the following commands still display the help
message for the base dcmanager command:
- dcmanager -h/--help
- dcmanager help
2. PASS: Verify that the following commands correctly display the help
message for the subcommand:
- dcmanager subcloud list -h/--help
- dcmanager help subcloud list
3. PASS: Without sourcing openrc, run the help and bash completion
commands and confirm that they display the help message without
requiring authentication.

Closes-Bug: 2078944

Change-Id: I04dbf996f5c3efa570d4ed4841f526cfb15e02ff
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
2024-09-04 11:17:13 -03:00
2019-04-19 19:52:34 +00:00
2018-08-07 11:51:16 -04:00
2018-09-23 16:31:32 +08:00
2024-06-24 09:52:54 -03:00
Description
StarlingX Distributed Cloud Client
5.1 MiB
Languages
Python 99.9%
Makefile 0.1%