Skip to content

Commit

Permalink
update completions, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juanvallejo committed Sep 30, 2016
1 parent ac26be4 commit 1b06647
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/completions/bash/oc
Original file line number Diff line number Diff line change
Expand Up @@ -13715,6 +13715,8 @@ _oc_whoami()
flags+=("--show-context")
flags+=("-c")
local_nonpersistent_flags+=("--show-context")
flags+=("--show-server")
local_nonpersistent_flags+=("--show-server")
flags+=("--show-token")
flags+=("-t")
local_nonpersistent_flags+=("--show-token")
Expand Down
2 changes: 2 additions & 0 deletions contrib/completions/bash/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -18267,6 +18267,8 @@ _openshift_cli_whoami()
flags+=("--show-context")
flags+=("-c")
local_nonpersistent_flags+=("--show-context")
flags+=("--show-server")
local_nonpersistent_flags+=("--show-server")
flags+=("--show-token")
flags+=("-t")
local_nonpersistent_flags+=("--show-token")
Expand Down
2 changes: 2 additions & 0 deletions contrib/completions/zsh/oc
Original file line number Diff line number Diff line change
Expand Up @@ -13876,6 +13876,8 @@ _oc_whoami()
flags+=("--show-context")
flags+=("-c")
local_nonpersistent_flags+=("--show-context")
flags+=("--show-server")
local_nonpersistent_flags+=("--show-server")
flags+=("--show-token")
flags+=("-t")
local_nonpersistent_flags+=("--show-token")
Expand Down
2 changes: 2 additions & 0 deletions contrib/completions/zsh/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -18428,6 +18428,8 @@ _openshift_cli_whoami()
flags+=("--show-context")
flags+=("-c")
local_nonpersistent_flags+=("--show-context")
flags+=("--show-server")
local_nonpersistent_flags+=("--show-server")
flags+=("--show-token")
flags+=("-t")
local_nonpersistent_flags+=("--show-token")
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oc-whoami.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ user context.
\fB\-c\fP, \fB\-\-show\-context\fP=false
Print the current user context name

.PP
\fB\-\-show\-server\fP=false
Print the server's REST API URL

.PP
\fB\-t\fP, \fB\-\-show\-token\fP=false
Print the token the current session is using. This will return an error if you are using a different form of authentication.
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/openshift-cli-whoami.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ user context.
\fB\-c\fP, \fB\-\-show\-context\fP=false
Print the current user context name

.PP
\fB\-\-show\-server\fP=false
Print the server's REST API URL

.PP
\fB\-t\fP, \fB\-\-show\-token\fP=false
Print the token the current session is using. This will return an error if you are using a different form of authentication.
Expand Down

0 comments on commit 1b06647

Please sign in to comment.