Browse code

update generated docs

juanvallejo authored on 2016/06/24 07:14:14
Showing 9 changed files
... ...
@@ -64,18 +64,20 @@ Output shell completion code for the given shell (bash or zsh)
64 64
 
65 65
 [options="nowrap"]
66 66
 ----
67
-  # Generate the openshift cli completion code for bash
68
-  source <(oc completion bash)
67
+  # Generate the oadm completion code for bash
68
+  oadm completion bash > bash_completion.sh
69
+  source bash_completion.sh
69 70
 
70 71
   # The above example depends on the bash-completion
71 72
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
72 73
 
73 74
   brew install bash-completion
74 75
   source $(brew --prefix)/etc/bash_completion
75
-  source <(oc completion bash)
76
+  oadm completion bash > bash_completion.sh
77
+  source bash_completion.sh
76 78
 
77 79
   # In zsh, the following will load openshift cli zsh completion:
78
-  source <(oc completion zsh)
80
+  source <(oadm completion zsh)
79 81
 ----
80 82
 ====
81 83
 
... ...
@@ -64,18 +64,20 @@ Output shell completion code for the given shell (bash or zsh)
64 64
 
65 65
 [options="nowrap"]
66 66
 ----
67
-  # Generate the openshift cli completion code for bash
68
-  source <(oc completion bash)
67
+  # Generate the oc adm completion code for bash
68
+  oc adm completion bash > bash_completion.sh
69
+  source bash_completion.sh
69 70
 
70 71
   # The above example depends on the bash-completion
71 72
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
72 73
 
73 74
   brew install bash-completion
74 75
   source $(brew --prefix)/etc/bash_completion
75
-  source <(oc completion bash)
76
+  oc adm completion bash > bash_completion.sh
77
+  source bash_completion.sh
76 78
 
77 79
   # In zsh, the following will load openshift cli zsh completion:
78
-  source <(oc completion zsh)
80
+  source <(oc adm completion zsh)
79 81
 ----
80 82
 ====
81 83
 
... ...
@@ -730,15 +732,17 @@ Output shell completion code for the given shell (bash or zsh)
730 730
 
731 731
 [options="nowrap"]
732 732
 ----
733
-  # Generate the openshift cli completion code for bash
734
-  source <(oc completion bash)
733
+  # Generate the oc completion code for bash
734
+  oc completion bash > bash_completion.sh
735
+  source bash_completion.sh
735 736
 
736 737
   # The above example depends on the bash-completion
737 738
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
738 739
 
739 740
   brew install bash-completion
740 741
   source $(brew --prefix)/etc/bash_completion
741
-  source <(oc completion bash)
742
+  oc completion bash > bash_completion.sh
743
+  source bash_completion.sh
742 744
 
743 745
   # In zsh, the following will load openshift cli zsh completion:
744 746
   source <(oc completion zsh)
... ...
@@ -13,8 +13,8 @@ oadm completion \- Output shell completion code for the given shell (bash or zsh
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of oadm commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -88,18 +88,20 @@ completion of openshift cli commands.
88 88
 .RS
89 89
 
90 90
 .nf
91
-  # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
91
+  # Generate the oadm completion code for bash
92
+  oadm completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  oadm completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102
-  source <(oc completion zsh)
104
+  source <(oadm completion zsh)
103 105
 
104 106
 .fi
105 107
 .RE
... ...
@@ -13,8 +13,8 @@ oc adm completion \- Output shell completion code for the given shell (bash or z
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of oc adm commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -88,18 +88,20 @@ completion of openshift cli commands.
88 88
 .RS
89 89
 
90 90
 .nf
91
-  # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
91
+  # Generate the oc adm completion code for bash
92
+  oc adm completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  oc adm completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102
-  source <(oc completion zsh)
104
+  source <(oc adm completion zsh)
103 105
 
104 106
 .fi
105 107
 .RE
... ...
@@ -13,8 +13,8 @@ oc completion \- Output shell completion code for the given shell (bash or zsh)
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of oc commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -88,15 +88,17 @@ completion of openshift cli commands.
88 88
 .RS
89 89
 
90 90
 .nf
91
-  # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
91
+  # Generate the oc completion code for bash
92
+  oc completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  oc completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102 104
   source <(oc completion zsh)
... ...
@@ -13,8 +13,8 @@ openshift admin completion \- Output shell completion code for the given shell (
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of openshift admin commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -88,18 +88,20 @@ completion of openshift cli commands.
88 88
 .RS
89 89
 
90 90
 .nf
91
-  # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
91
+  # Generate the openshift admin completion code for bash
92
+  openshift admin completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  openshift admin completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102
-  source <(oc completion zsh)
104
+  source <(openshift admin completion zsh)
103 105
 
104 106
 .fi
105 107
 .RE
... ...
@@ -13,8 +13,8 @@ openshift cli adm completion \- Output shell completion code for the given shell
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of openshift cli adm commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -88,18 +88,20 @@ completion of openshift cli commands.
88 88
 .RS
89 89
 
90 90
 .nf
91
-  # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
91
+  # Generate the openshift cli adm completion code for bash
92
+  openshift cli adm completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  openshift cli adm completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102
-  source <(oc completion zsh)
104
+  source <(openshift cli adm completion zsh)
103 105
 
104 106
 .fi
105 107
 .RE
... ...
@@ -13,7 +13,7 @@ openshift cli completion \- Output shell completion code for the given shell (ba
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
16
+This command prints shell code which must be evaluated to provide interactive
17 17
 completion of openshift cli commands.
18 18
 
19 19
 
... ...
@@ -89,17 +89,19 @@ completion of openshift cli commands.
89 89
 
90 90
 .nf
91 91
   # Generate the openshift cli completion code for bash
92
-  source <(oc completion bash)
92
+  openshift cli completion bash > bash\_completion.sh
93
+  source bash\_completion.sh
93 94
 
94 95
   # The above example depends on the bash\-completion
95 96
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
96 97
 
97 98
   brew install bash\-completion
98 99
   source $(brew \-\-prefix)/etc/bash\_completion
99
-  source <(oc completion bash)
100
+  openshift cli completion bash > bash\_completion.sh
101
+  source bash\_completion.sh
100 102
 
101 103
   # In zsh, the following will load openshift cli zsh completion:
102
-  source <(oc completion zsh)
104
+  source <(openshift cli completion zsh)
103 105
 
104 106
 .fi
105 107
 .RE
... ...
@@ -13,8 +13,8 @@ openshift completion \- Output shell completion code for the given shell (bash o
13 13
 
14 14
 .SH DESCRIPTION
15 15
 .PP
16
-This command prints shell code which must be evaluation to provide interactive
17
-completion of openshift cli commands.
16
+This command prints shell code which must be evaluated to provide interactive
17
+completion of openshift commands.
18 18
 
19 19
 
20 20
 .SH OPTIONS INHERITED FROM PARENT COMMANDS
... ...
@@ -32,18 +32,20 @@ completion of openshift cli commands.
32 32
 .RS
33 33
 
34 34
 .nf
35
-  # Generate the openshift cli completion code for bash
36
-  source <(oc completion bash)
35
+  # Generate the openshift completion code for bash
36
+  openshift completion bash > bash\_completion.sh
37
+  source bash\_completion.sh
37 38
 
38 39
   # The above example depends on the bash\-completion
39 40
 framework. It must be sourced before sourcing the openshift cli completion, i.e. on the Mac:
40 41
 
41 42
   brew install bash\-completion
42 43
   source $(brew \-\-prefix)/etc/bash\_completion
43
-  source <(oc completion bash)
44
+  openshift completion bash > bash\_completion.sh
45
+  source bash\_completion.sh
44 46
 
45 47
   # In zsh, the following will load openshift cli zsh completion:
46
-  source <(oc completion zsh)
48
+  source <(openshift completion zsh)
47 49
 
48 50
 .fi
49 51
 .RE