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:
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