Browse code

generate man and bash completion

Michal Fojtik authored on 2016/12/08 04:25:44
Showing 8 changed files
... ...
@@ -8469,8 +8469,6 @@ _oc_deploy()
8469 8469
     flags_with_completion=()
8470 8470
     flags_completion=()
8471 8471
 
8472
-    flags+=("--enable-triggers")
8473
-    local_nonpersistent_flags+=("--enable-triggers")
8474 8472
     flags+=("--follow")
8475 8473
     local_nonpersistent_flags+=("--follow")
8476 8474
     flags+=("--retry")
... ...
@@ -11895,6 +11893,7 @@ _oc_rollout_cancel()
11895 11895
     flags+=("--match-server-version")
11896 11896
     flags+=("--namespace=")
11897 11897
     two_word_flags+=("-n")
11898
+    flags+=("--request-timeout=")
11898 11899
     flags+=("--server=")
11899 11900
     flags+=("--token=")
11900 11901
     flags+=("--user=")
... ...
@@ -13094,8 +13094,6 @@ _openshift_cli_deploy()
13094 13094
     flags_with_completion=()
13095 13095
     flags_completion=()
13096 13096
 
13097
-    flags+=("--enable-triggers")
13098
-    local_nonpersistent_flags+=("--enable-triggers")
13099 13097
     flags+=("--follow")
13100 13098
     local_nonpersistent_flags+=("--follow")
13101 13099
     flags+=("--retry")
... ...
@@ -16564,6 +16562,7 @@ _openshift_cli_rollout_cancel()
16564 16564
     flags+=("--match-server-version")
16565 16565
     flags+=("--namespace=")
16566 16566
     two_word_flags+=("-n")
16567
+    flags+=("--request-timeout=")
16567 16568
     flags+=("--server=")
16568 16569
     flags+=("--token=")
16569 16570
     flags+=("--user=")
... ...
@@ -8630,8 +8630,6 @@ _oc_deploy()
8630 8630
     flags_with_completion=()
8631 8631
     flags_completion=()
8632 8632
 
8633
-    flags+=("--enable-triggers")
8634
-    local_nonpersistent_flags+=("--enable-triggers")
8635 8633
     flags+=("--follow")
8636 8634
     local_nonpersistent_flags+=("--follow")
8637 8635
     flags+=("--retry")
... ...
@@ -12056,6 +12054,7 @@ _oc_rollout_cancel()
12056 12056
     flags+=("--match-server-version")
12057 12057
     flags+=("--namespace=")
12058 12058
     two_word_flags+=("-n")
12059
+    flags+=("--request-timeout=")
12059 12060
     flags+=("--server=")
12060 12061
     flags+=("--token=")
12061 12062
     flags+=("--user=")
... ...
@@ -13255,8 +13255,6 @@ _openshift_cli_deploy()
13255 13255
     flags_with_completion=()
13256 13256
     flags_completion=()
13257 13257
 
13258
-    flags+=("--enable-triggers")
13259
-    local_nonpersistent_flags+=("--enable-triggers")
13260 13258
     flags+=("--follow")
13261 13259
     local_nonpersistent_flags+=("--follow")
13262 13260
     flags+=("--retry")
... ...
@@ -16725,6 +16723,7 @@ _openshift_cli_rollout_cancel()
16725 16725
     flags+=("--match-server-version")
16726 16726
     flags+=("--namespace=")
16727 16727
     two_word_flags+=("-n")
16728
+    flags+=("--request-timeout=")
16728 16729
     flags+=("--server=")
16729 16730
     flags+=("--token=")
16730 16731
     flags+=("--user=")
... ...
@@ -16,11 +16,7 @@ oc rollout cancel \- cancel the in\-progress deployment
16 16
 Cancel the in\-progress deployment
17 17
 
18 18
 .PP
19
-Running this command will cause the current in\-progress deployment to be
20
-cancelled, but keep in mind that this is a best\-effort operation and may take
21
-some time to complete. It’s possible the deployment will partially or totally
22
-complete before the cancellation is effective. In such a case an appropriate
23
-event will be emitted.
19
+Running this command will cause the current in\-progress deployment to be cancelled, but keep in mind that this is a best\-effort operation and may take some time to complete. It’s possible the deployment will partially or totally complete before the cancellation is effective. In such a case an appropriate event will be emitted.
24 20
 
25 21
 
26 22
 .SH OPTIONS
... ...
@@ -87,6 +83,10 @@ event will be emitted.
87 87
     If present, the namespace scope for this CLI request
88 88
 
89 89
 .PP
90
+\fB\-\-request\-timeout\fP="0"
91
+    The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
92
+
93
+.PP
90 94
 \fB\-\-server\fP=""
91 95
     The address and port of the Kubernetes API server
92 96
 
... ...
@@ -103,7 +103,7 @@ There are several deployment strategies defined:
103 103
 
104 104
 .SH SEE ALSO
105 105
 .PP
106
-\fBoc(1)\fP, \fBoc\-rollout\-history(1)\fP, \fBoc\-rollout\-latest(1)\fP, \fBoc\-rollout\-pause(1)\fP, \fBoc\-rollout\-resume(1)\fP, \fBoc\-rollout\-status(1)\fP, \fBoc\-rollout\-undo(1)\fP,
106
+\fBoc(1)\fP, \fBoc\-rollout\-cancel(1)\fP, \fBoc\-rollout\-history(1)\fP, \fBoc\-rollout\-latest(1)\fP, \fBoc\-rollout\-pause(1)\fP, \fBoc\-rollout\-resume(1)\fP, \fBoc\-rollout\-status(1)\fP, \fBoc\-rollout\-undo(1)\fP,
107 107
 
108 108
 
109 109
 .SH HISTORY
... ...
@@ -16,11 +16,7 @@ openshift cli rollout cancel \- cancel the in\-progress deployment
16 16
 Cancel the in\-progress deployment
17 17
 
18 18
 .PP
19
-Running this command will cause the current in\-progress deployment to be
20
-cancelled, but keep in mind that this is a best\-effort operation and may take
21
-some time to complete. It’s possible the deployment will partially or totally
22
-complete before the cancellation is effective. In such a case an appropriate
23
-event will be emitted.
19
+Running this command will cause the current in\-progress deployment to be cancelled, but keep in mind that this is a best\-effort operation and may take some time to complete. It’s possible the deployment will partially or totally complete before the cancellation is effective. In such a case an appropriate event will be emitted.
24 20
 
25 21
 
26 22
 .SH OPTIONS
... ...
@@ -87,6 +83,10 @@ event will be emitted.
87 87
     If present, the namespace scope for this CLI request
88 88
 
89 89
 .PP
90
+\fB\-\-request\-timeout\fP="0"
91
+    The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
92
+
93
+.PP
90 94
 \fB\-\-server\fP=""
91 95
     The address and port of the Kubernetes API server
92 96
 
... ...
@@ -103,7 +103,7 @@ There are several deployment strategies defined:
103 103
 
104 104
 .SH SEE ALSO
105 105
 .PP
106
-\fBopenshift\-cli(1)\fP, \fBopenshift\-cli\-rollout\-history(1)\fP, \fBopenshift\-cli\-rollout\-latest(1)\fP, \fBopenshift\-cli\-rollout\-pause(1)\fP, \fBopenshift\-cli\-rollout\-resume(1)\fP, \fBopenshift\-cli\-rollout\-status(1)\fP, \fBopenshift\-cli\-rollout\-undo(1)\fP,
106
+\fBopenshift\-cli(1)\fP, \fBopenshift\-cli\-rollout\-cancel(1)\fP, \fBopenshift\-cli\-rollout\-history(1)\fP, \fBopenshift\-cli\-rollout\-latest(1)\fP, \fBopenshift\-cli\-rollout\-pause(1)\fP, \fBopenshift\-cli\-rollout\-resume(1)\fP, \fBopenshift\-cli\-rollout\-status(1)\fP, \fBopenshift\-cli\-rollout\-undo(1)\fP,
107 107
 
108 108
 
109 109
 .SH HISTORY