Bug 1563549
Summary: | Global flags --v/--loglevel duplicate display in sub commands help info | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> |
Component: | oc | Assignee: | Juan Vallejo <jvallejo> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Xingxing Xia <xxia> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | aos-bugs, jokerman, maszulik, mmccomas |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
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: | 2018-04-10 10:30:55 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
Xingxing Xia
2018-04-04 07:23:16 UTC
Maciej, was it intended behavior to display --v in subcommands? Yes, this is intentional. We'll be slowly replacing --loglevel with --v to be compliant with kubernetes which uses the latter. (In reply to Xingxing Xia from comment #0) > Actual results: > 2. --v/--loglevel are global options, but displayed in help info of sub > commands > Expected results: > 2. Global options are not duplicate displayed in sub commands help info Thanks for clarification. But the duplication in point 2 should be fixed. We will not remove any of the two entries until one of them (loglevel) will be deprecated. Hmm, fyi, the point 2 issue is in fact fixed in oc v3.10.0-0.27.0, subcommands does not dipslay global --v/--loglevel now in help info. Thanks |