Bug 1391838 - [dev-preview-int]Missing prompts of oc log
Summary: [dev-preview-int]Missing prompts of oc log
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: unspecified
Hardware: All
OS: All
low
low
Target Milestone: ---
: ---
Assignee: Greg Blomquist
QA Contact: Xingxing Xia
URL:
Whiteboard: online_3.4.1
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-04 08:26 UTC by Li Zhe
Modified: 2020-02-26 19:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-26 19:12:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Juan Vallejo 2017-10-25 20:47:07 UTC
Using a recent client (3.6+) [1], the output is now:

```
$ oc logs
error: expected 'logs (POD | TYPE/NAME) [CONTAINER_NAME]'.
POD or TYPE/NAME is a required argument for the logs command
See 'oc logs -h' for help and examples.
```

1. https://github.com/openshift/origin/blob/release-3.6/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/logs.go#L92

Comment 2 Xingxing Xia 2017-10-26 03:40:08 UTC
Checked in oc v3.6.173.0.52 (and v3.7), result is as in comment 1.
Very minor issue: how about [-c CONTAINER_NAME] to be preciser?


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