Bug 1608254 - Need update the help info of `oc status`
Summary: Need update the help info of `oc status`
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.0
Assignee: Maciej Szulik
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-25 08:08 UTC by zhou ying
Modified: 2018-12-21 15:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-12-21 15:16:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description zhou ying 2018-07-25 08:08:25 UTC
Description of problem:
The `oc status -v` has deprecated, but the help info of `oc status` not update. 

Version-Release number of selected component (if applicable):
oc v3.11.0-0.9.0
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

How reproducible:
always

Steps to Reproduce:
1. Check the help info of `oc status` and run:
oc status -v -n xxia-proj
Error: invalid argument "-n" for "-v, --v" flag: strconv.Atoi: parsing "-n": invalid syntax

Actual results:
1. Could see the example of `oc status -v ` but it fails when having other arguments

Expected results:
1. The `oc status -v` has deprecated, should update the help info.

Additional info:

Comment 1 Juan Vallejo 2018-07-26 14:33:27 UTC
Will be fixed by https://github.com/openshift/origin/pull/20412

Comment 2 Xingxing Xia 2018-07-31 06:11:41 UTC
Hmm, tested and found there are 3 typos `--sugest` (lacking a 'g') in the PR

Comment 3 Maciej Szulik 2018-07-31 10:34:00 UTC
Fixes in https://github.com/openshift/origin/pull/20481

Comment 4 openshift-github-bot 2018-08-01 03:00:01 UTC
Commits pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/019942f5e70db077a6da7791b260051588ae6b85
Bug 1608254 - update help messages

https://github.com/openshift/origin/commit/6d490232b95aa2b971c0bcc3b0428b75bcfd8788
Merge pull request #20481 from soltysh/bug1608254

Bug 1608254 - update help messages

Comment 5 zhou ying 2018-08-01 09:10:17 UTC
Confirmed with latest ocp, the issue has fixed:
[root@ip-172-18-14-248 registries.d]# oc version
oc v3.11.0-0.10.0
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

openshift v3.11.0-0.10.0
kubernetes v1.11.0+d4cacc0

Comment 6 Xingxing Xia 2018-08-06 09:27:59 UTC
Verified in oc v3.11.0-0.11.0. Typos fixed.

Comment 7 openshift-github-bot 2018-08-13 15:53:43 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/acccac5cff33d8c750e846a30a5e1e4d25174f25
Bug 1608254 - update help messages

Comment 8 Luke Meyer 2018-12-21 15:16:33 UTC
Closing bugs that were verified and targeted for GA but for some reason were not picked up by errata. This bug fix should be present in current 3.11 release content.


Note You need to log in before you can comment on or make changes to this bug.