Bug 1391838

Summary: [dev-preview-int]Missing prompts of oc log
Product: OpenShift Container Platform Reporter: Li Zhe <zhezli>
Component: ocAssignee: Greg Blomquist <gblomqui>
Status: CLOSED EOL QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: akostadi, aos-bugs, jokerman, maszulik, mmccomas, xiaocwan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: online_3.4.1
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-26 19:12:02 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:

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?