Bug 2097334
| Summary: | oc plugin help shows 'kubectl' | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andrea Hoffer <ahoffer> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | mfojtik |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 11:18:19 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: | |||
the issue has fixed: oc version --client Client Version: 4.11.0-0.nightly-2022-06-22-015220 Kustomize Version: v4.5.4 oc plugin list -h List all available plugin files on a user's PATH. Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with "oc-" Examples: # List all available plugins oc plugin list 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069 |
Description of problem: When auto-generated the oc CLI docs, noticed that the example pulled in said "kubectl plugin list". Usually there is some sort of transformation done where it should be replaced with "oc plugin list". This is also a problem in the actual "oc plugin list --help" output. Version-Release number of selected component (if applicable): 4.11 (unsure if it goes any further back) How reproducible: Always Steps to Reproduce: 1. Run 'oc plugin list --help' 2. Review output: [ahoffer@ahoffer ~] $ oc plugin list --help List all available plugin files on a user's PATH. Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with "kubectl-" Usage: oc plugin list [flags] Examples: # List all available plugins kubectl plugin list Options: --name-only=false: If true, display only the binary name of each plugin, rather than its full path Use "oc options" for a list of global command-line options (applies to all commands). Actual results: The example says "kubectl plugin list" Expected results: Output should say "oc plugin list" Additional info: