Bug 2145198
| Summary: | Bash completion of rhc does not work | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Hnidek <jhnidek> | |
| Component: | rhc | Assignee: | mgrunwal <mgrunwal> | |
| Status: | VERIFIED --- | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 9.1 | CC: | ahitacat, arpandey, cmarinea, fjansen, jsefler, link, pakotvan, redakkan, zpetrace | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | rhc-0.2.4-1.el9 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2227014 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2227014 | |||
|
Description
Jiri Hnidek
2022-11-23 13:43:00 UTC
Martin , Pls share the link to the PR. Pre-verifying preliminary copr build https://coprbe.devel.redhat.com/results/ahitacat/rhc/rhel-9.dev-x86_64/00108010-rhc/rhc-0.2.4-0.2.git.a67ca4e.el9.x86_64.rpm [root@kvm-01-guest07 ~]# rpm -q rhc bash-completion rhc-0.2.4-0.2.git.a67ca4e.el9.x86_64 bash-completion-2.11-4.el9.noarch [root@kvm-01-guest07 ~]# [root@kvm-01-guest07 ~]# rhc --version rhc version 0.2.4 [root@kvm-01-guest07 ~]# [root@kvm-01-guest07 ~]# rhc --help NAME: rhc - control the system's connection to Red Hat USAGE: rhc [global options] command [command options] [arguments...] VERSION: 0.2.4 DESCRIPTION: The rhc command controls the system's connection to Red Hat. To connect the system using an activation key: rhc connect --organization ID --activation-key KEY To connect the system using a username and password: rhc connect --username USERNAME --password PASSWORD To disconnect the system: rhc disconnect Run 'rhc command --help' for more details. COMMANDS: connect Connects the system to Red Hat disconnect Disconnects the system from Red Hat status Prints status of the system's connection to Red Hat help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --no-color (default: false) [$NO_COLOR] --help, -h show help (default: false) --version, -v print the version (default: false) [root@kvm-01-guest07 ~]# [root@kvm-01-guest07 ~]# rhc <TAB><TAB> -a --format --no-color status --activation-key -h -o -u connect h --organization --username disconnect --help -p -v -f help --password --version [root@kvm-01-guest07 ~]# rhc -<TAB><TAB> -a -h --organization --username --activation-key --help -p -v -f --no-color --password --version --format -o -u [root@kvm-01-guest07 ~]# rhc --<TAB><TAB> --activation-key --help --organization --username --format --no-color --password --version [root@kvm-01-guest07 ~]# rhc --^C [root@kvm-01-guest07 ~]# rhc co<TAB>nnect^C [root@kvm-01-guest07 ~]# rhc di<TAB>sconnect^C [root@kvm-01-guest07 ~]# rhc st<TAB>atus^C [root@kvm-01-guest07 ~]# rhc he<TAB>lp^C [root@kvm-01-guest07 ~]# rhc h<TAB><TAB> h help [root@kvm-01-guest07 ~]# rhc h^C [root@kvm-01-guest07 ~]# VERIFIED: Tab completion successfully completes all of the rhc commands, options, and global options. [root@kvm-02-guest10 ~]# rpm -q rhc bash-completion
rhc-0.2.4-1.el9.x86_64
bash-completion-2.11-4.el9.noarch
[root@kvm-02-guest10 ~]# rhc --version
rhc version 0.2.4
[root@kvm-02-guest10 ~]# rhc --help
NAME:
rhc - control the system's connection to Red Hat
USAGE:
rhc [global options] command [command options] [arguments...]
VERSION:
0.2.4
DESCRIPTION:
The rhc command controls the system's connection to Red Hat.
To connect the system using an activation key:
rhc connect --organization ID --activation-key KEY
To connect the system using a username and password:
rhc connect --username USERNAME --password PASSWORD
To disconnect the system:
rhc disconnect
Run 'rhc command --help' for more details.
COMMANDS:
connect Connects the system to Red Hat
disconnect Disconnects the system from Red Hat
status Prints status of the system's connection to Red Hat
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--no-color (default: false) [$NO_COLOR]
--help, -h show help (default: false)
--version, -v print the version (default: false)
[root@kvm-02-guest10 ~]# rhc <tab><tab>
-a -f --help --organization -u
--activation-key --format help -p --username
connect -h --no-color --password -v
disconnect h -o status --version
[root@kvm-02-guest10 ~]# rhc -<tab><tab>
-a --format --no-color -p --username
--activation-key -h -o --password -v
-f --help --organization -u --version
[root@kvm-02-guest10 ~]# rhc --<tab><tab>
--activation-key --help --organization --username
--format --no-color --password --version
^^ SUCCESSFULLY COMPLETES ALL OF THE RHC COMMANDS, OPTIONS, AND GLOBAL OPTIONS --> PASSED
|