Bug 1325076 - oc help shouldn't say single quotations, since Windows command prompt treats single quotations as exactly what it is
Summary: oc help shouldn't say single quotations, since Windows command prompt treats ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 07:10 UTC by Kenjiro Nakayama
Modified: 2021-08-30 12:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-21 08:40:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2247251 0 None None None 2016-04-08 08:06:39 UTC

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.


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