Description of problem: oc extract help info show the --only as example, but it's actually replaced by --key Version-Release number of selected component (if applicable): oc v1.3.0-alpha.3+523a02f How reproducible: Always Steps to Reproduce: 1. check help info # oc extract -h "... You can limit which keys are extracted with the --only=NAME flag, or set the directory to extract to ..." 2. try to extract secret with --only # oc extract secret/default-token-2gcbr --only=token --confirm Error: unknown flag: --only Actual results: --only is unknown flag Expected results: Should use --keys instead of --only from help info Additional info:
quotaname
Related PR: https://github.com/openshift/origin/pull/10614
Verified on v1.3.0-alpha.3+4250e53 """ You can limit which keys are extracted with the --keys=NAME flag, or set the directory to extract to with --to=DIRECTORY. """