Bug 1325076

Summary: oc help shouldn't say single quotations, since Windows command prompt treats single quotations as exactly what it is
Product: OpenShift Container Platform Reporter: Kenjiro Nakayama <knakayam>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED EOL QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: medium    
Version: 3.1.0CC: aos-bugs, jokerman, 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: 2019-08-21 08:40:18 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:

Description Kenjiro Nakayama 2016-04-08 07:10:48 UTC
Description of problem:

- OpenShift's help shows single quotations.

e.g.) See it looks like we should use '' for each options.
~~
$ oc rsync -h
...
  -c, --container='': Container within the pod

      --exclude='': rsync - exclude files matching specified pattern
      --include='': rsync - include files matching specified pattern
~~~

- However, windows command prompt treats single quotations as exactly what it is.
- For example, if you run, you will get error.

  $ oc rsync foo bar:/tmp --strategy='tar'
  error: unknown strategy: 'tar'

- "--strategy=tar" and "--strategy="tar""(double quotations) works fine.

Version-Release number of selected component (if applicable):

- oc v3.1.1.6

How reproducible:

Steps to Reproduce:
1. Start windows command prompt
2. Run "oc rsync foo bar:/tmp --strategy='tar'"
3. Get error "error: unknown strategy: 'tar'"

Actual results:

- oc command's help should not use ''(single quotations).

Expected results:

- oc command's help should use "" (double quotations)

Comment 1 Maciej Szulik 2019-08-21 08:40:18 UTC
Closing due to age.