Bug 1537388
| Summary: | Global flag --version is not respected | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.9.0 | CC: | aos-bugs, jokerman, mmccomas, wmeng |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-03-14 02:15:34 UTC | 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: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0405 |
Description of problem: `oc options`, `oc adm options` now has new flag --version: $ oc options ... --version=false: Print version information and quit ... But the flag is not respected in any command, confusing user what it is used for. Version-Release number of selected component (if applicable): v3.9.0-0.22.0 How reproducible: Always Steps to Reproduce: 1. Login to openshift, create project 2. Run any commands with global flag --version=true or false $ oc get pod --version=true No resources found. $ oc get pod --version=false No resources found. Actual results: 2. Same result when with --version=true or false. --version is not respected Expected results: 2. It is respected, result of --version=true or false should have difference per above help info "Print version information and quit" Additional info: