Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue ce227b06de Merge pull request #66558 from quasoft/depr-pod-flag
Automatic merge from submit-queue (batch tested with PRs 66593, 66727, 66558). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Mark --pod/-p flag of kubectl exec command as deprecated

**What this PR does / why we need it**:
Marks the `--pod` (`-p` shorthand) flag of kubectl `exec` command as deprecated.
Hides the flag from the help menu, but shows a message when command is executed with this flag.

**Which issue this PR fixes**:
Fixes:  https://github.com/kubernetes/kubectl/issues/104

This is a remake of PR https://github.com/kubernetes/kubernetes/pull/54629.

**Release note**:
```release-note
Flag --pod (-p shorthand) of kubectl exec command marked as deprecated
```
2018-07-27 18:05:06 -07:00
..
2018-06-22 16:22:57 -07:00
2018-06-22 16:22:57 -07:00
2018-07-18 15:41:38 +08:00
2018-07-12 14:48:13 -04:00
2018-05-08 09:02:34 -04:00
2018-03-13 16:21:30 -04:00
2018-07-12 18:12:37 -04:00
2018-07-12 14:48:13 -04:00
2018-05-08 09:02:34 -04:00
2017-12-25 16:23:38 +08:00
2018-07-23 14:40:16 -04:00
2018-05-08 09:02:34 -04:00
2018-04-27 21:41:03 +02:00
2018-05-08 18:33:50 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 09:02:34 -04:00