Bug 1273708

Summary: Still show --all=true in oc export help page after the flag --all has been deprecated
Product: OKD Reporter: Yan Du <yadu>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: low    
Version: 3.xCC: aos-bugs, mmccomas
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-05-12 17:11:37 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 Yan Du 2015-10-21 05:43:39 UTC
Description of problem:
# oc export svc --all > 1.json
Flag --all has been deprecated, all is ignored because specifying a resource without a name selects all the instances of that resource

And check the help page:
Options:
      --all=true: Select all resources in the namespace of the specified resource types


Version-Release number of selected component (if applicable):
openshift v3.0.2.901-61-g568adb6
kubernetes v1.1.0-alpha.1-653-g86b4e77

How reproducible:
always

Steps to Reproduce:
1. Check the help page of oc export cmd


Actual results:
As description


Expected results:
Should remove the --all=true option infomation in help page, since flag --all has been deprecated

Comment 1 Fabiano Franz 2016-01-11 20:22:38 UTC
Fixed in https://github.com/openshift/origin/pull/6610

Comment 2 openshift-github-bot 2016-01-12 16:46:11 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/08ed35ca0238e73ed71e95a0224bb1441e2fd6c7
Bug 1273708 - mark --all in oc export deprecated in help

Comment 3 Yan Du 2016-01-13 06:51:02 UTC
Test on devenv_rhel7_3131, bug have been fixed.

Options:
      --all=true: DEPRECATED: all is ignored, specifying a resource without a name selects all the instances of that resource

Move to verified.