Bug 1316157
Summary: | [DOCS] oc port-forward/exec documentation and cli help use examples with deprecated syntax | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> |
Component: | Documentation | Assignee: | Ashley Hardin <ahardin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> |
Severity: | low | Docs Contact: | Vikram Goyal <vigoyal> |
Priority: | low | ||
Version: | 3.2.0 | CC: | abutcher, aos-bugs, ffranz, jforrest, jokerman, mifiedle, mmccomas, xxia |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-15 15:12:52 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: |
Description
Mike Fiedler
2016-03-09 14:33:29 UTC
For oc exec, the documentation is right. But cli help also uses -p Work in progress: https://github.com/openshift/openshift-docs/pull/2286 @Andrew, please review and note the comment from Xingxing Xia regarding CLI help. Thanks! @ Mike, Please review as well. Thanks. +1 for me. The CLI is, paradoxically, maintained by the Web UI team. Added jforrest to the cc: CLI issue fixed in https://github.com/openshift/origin/pull/9351 @ Ashley Hardin The doc PR LGTM. Thanks! @ Fabiano Franz Tested with oc v1.3.0-alpha.1-379-g662753c, works: oc port-forward -h Examples: # Listens on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod oc port-forward mypod 5000 6000 ... Options: -p, --pod='': Pod name (deprecated) Seems better to correct `oc exec -h` too (comment 1)? As far as I know, that is the only left sub-command with deprecated '--pod'. Thank you. Commits pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/ce42059390553c6260b2ce827019e098552a7881 Bug 1316157, updated outdated syntax instances of https://github.com/openshift/openshift-docs/commit/f05a5d852eca9b6af2f039e31be1e35a09fefc45 Merge pull request #2286 from ahardin-rh/port-forwarding Bug 1316157, updated outdated syntax instances of oc port-forward -p Right, `oc exec` fixed in https://github.com/openshift/origin/pull/9382. Thanks. Saw the change of `oc exec -h` in devenv-rhel7_4393, looks fine. Content is now published: https://access.redhat.com/documentation/en/openshift-enterprise/version-3.2/developer-guide/#basic-usage |