Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue 22cc294364 Merge pull request #46598 from xiangpengzhao/fix-kubectl-version
Automatic merge from submit-queue (batch tested with PRs 46210, 48607, 46874, 46598, 49240)

Make "kubectl version" json format output more readable.

**What this PR does / why we need it**:
##39858 adds a flag --output to `kubectl version`, but the json format output is displayed in one line. It's not so readable. This PR fixes it.

and

- adds a shorthand for `output`
- ~~refactors that: if `--short` is specified, `--output` will be ignored~~

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #43750

**Special notes for your reviewer**:
/cc @php-coder @alejandroEsc 

**Release note**:

```release-note
NONE
```
2017-07-21 17:00:21 -07:00
..
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-30 15:00:24 -07:00
2017-07-18 09:28:49 +02:00
2017-07-20 11:03:49 -07:00
2017-06-16 07:09:21 +00:00
2017-07-07 09:12:29 -04:00
2017-07-18 12:55:34 -03:00
2017-06-27 16:25:20 -07:00
2017-07-20 11:03:49 -07:00
2017-06-26 11:38:36 -04:00
2017-06-27 16:25:20 -07:00
2016-10-29 20:24:54 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-30 15:00:24 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-06-27 16:25:20 -07:00
2017-05-31 13:02:23 +05:30
2017-07-07 09:12:29 -04:00
2017-06-27 16:25:20 -07:00
2017-05-11 20:09:31 +08:00
2017-07-20 11:03:49 -07:00
2017-06-27 16:25:20 -07:00
2017-06-22 11:31:03 -07:00
2017-06-27 16:25:20 -07:00
2017-05-15 13:51:39 -07:00
2017-06-27 16:25:20 -07:00
2017-06-22 11:31:03 -07:00
2017-06-27 16:25:20 -07:00
2017-06-22 11:31:03 -07:00