Warn for every _ flag user or cmd defined

also renames all global _ flags to -
This commit is contained in:
Anastasis Andronidis
2015-05-16 18:44:42 +02:00
parent a1ea3df0f1
commit 5eae2378d6
63 changed files with 272 additions and 215 deletions

View File

@@ -60,15 +60,15 @@ Print available API versions.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -60,15 +60,15 @@ Display addresses of the master and services with label kubernetes.io/cluster\-s
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -69,15 +69,15 @@ Specifying a name that already exists will merge new fields on top of existing v
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -69,15 +69,15 @@ Specifying a name that already exists will merge new fields on top of existing v
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -92,15 +92,15 @@ Bearer token and basic auth are mutually exclusive.
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -62,15 +62,15 @@ PROPERTY\_VALUE is the new value you wish to set.
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -61,15 +61,15 @@ PROPERTY\_NAME is a dot delimited name where each token represents either a attr
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -60,15 +60,15 @@ Sets the current\-context in a kubeconfig file
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -96,15 +96,15 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
use a particular kubeconfig file
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -66,15 +66,15 @@ The loading order follows these rules:
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -67,15 +67,15 @@ JSON and YAML formats are accepted.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -92,15 +92,15 @@ will be lost along with the rest of the resource.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -64,15 +64,15 @@ given resource.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -76,15 +76,15 @@ Execute a command in a container.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -134,15 +134,15 @@ re\-use the labels from the resource it exposes.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -101,15 +101,15 @@ of the \-\-template flag, you can filter the attributes of the fetched resource(
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -97,15 +97,15 @@ If \-\-resource\-version is specified, then updates will use this resource versi
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -72,15 +72,15 @@ Print the logs for a container in a pod. If the pod has only one container, the
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -63,15 +63,15 @@ namespace has been superceded by the context.namespace field of .kubeconfig file
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -64,15 +64,15 @@ Forward one or more local ports to a pod.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -76,15 +76,15 @@ Run a proxy to the Kubernetes API server.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -78,15 +78,15 @@ resize is sent to the server.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -114,15 +114,15 @@ existing controller and overwrite at least one (common) label in its replicaSele
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -110,15 +110,15 @@ Creates a replication controller to manage the created container(s).
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -80,15 +80,15 @@ If the resource is resizable it will be resized to 0 before deletion.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -71,15 +71,15 @@ JSON and YAML formats are accepted.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -64,15 +64,15 @@ Print the client and server version information.
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP

View File

@@ -62,15 +62,15 @@ Find more information at
Path to the kubeconfig file to use for CLI requests.
.PP
\fB\-\-log\_backtrace\_at\fP=:0
\fB\-\-log\-backtrace\-at\fP=:0
when logging hits line file:N, emit a stack trace
.PP
\fB\-\-log\_dir\fP=""
\fB\-\-log\-dir\fP=""
If non\-empty, write log files in this directory
.PP
\fB\-\-log\_flush\_frequency\fP=5s
\fB\-\-log\-flush\-frequency\fP=5s
Maximum number of seconds between log flushes
.PP