kops completion script emitted to stdout. Or, if --shell is incorrect, kops should print a usage message for the command.
How can we to reproduce it (as minimally and precisely as possible):
Run kops completion --shell bash
Anything else do we need to know:
After further examination, it looks like the current syntax expects kops completion bash, without a --shell flag. kops completion --help seems to need an update.
I. What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
"completion"
-------------BUG REPORT --------------------
Fill in as much of the template below as you can. If you leave out information, we can't help you as well.
What Kubernetes version are you running? use
kubectl version
n/a
kops version
kops
Version 1.6.2 (git-98ae12a)
(1.6.2 from releases download on github)I also built from source (
Version 1.6.2 (git-a67ab0bc7)
) and saw the same issue.What Environment are you running on? Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty
What commands did you execute (Please provide screenshot, if available) and what happened after commands executed?
kops completion script emitted to stdout. Or, if
--shell
is incorrect,kops
should print a usage message for the command.Run
kops completion --shell bash
After further examination, it looks like the current syntax expects
kops completion bash
, without a--shell
flag.kops completion --help
seems to need an update.