-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-10.0
-
None
-
rhc-0.3.2-1.el10
-
No
-
Low
-
subs-client-tools
-
5
-
False
-
False
-
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
rhc should return exit code 1 if invalid CLI options are provided to command.
[root@dell-r640-012 integration-tests]# rhc connect {}username abc{-} --activation-key testing
--username and --activation-key can not be used together
[root@dell-r640-012 integration-tests]# echo $?
0
[root@dell-r640-012 integration-tests]#
Please provide the package NVR for which the bug is seen:
rhc-0.3.1-2.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- # rhc connect
{}username abc{}-activation-key testing
Expected results
exit code should be 1
Actual results
exit code is 0
- is duplicated by
-
RHEL-41022 [RFE] rhc exits with return codes
-
- Closed
-
- links to
-
RHBA-2025:149384 rhc update