mirror of https://github.com/helm/helm
**What kind of PR is this?** Improvement / feature **What does does this PR do / why we need it**: This improves the following: - Adds capitalization to all parameter descriptions - Improves the --help output by putting all logging flags into its own separate section **Which issue(s) this PR fixes**: Fixes https://github.com/helm/helm/issues/7163 **How to test changes / Special notes to the reviewer**: See the below changes: ```sh helm --help ... Flags: --debug Enable verbose output -h, --help Help for helm --kube-context string Name of the kubeconfig context to use --kubeconfig string Path to the kubeconfig file -n, --namespace string Namespace scope for this request --registry-config string Path to the registry config file (default "/home/wikus/.config/helm/registry.json") --repository-cache string Path to the file containing cached repository indexes (default "/home/wikus/.cache/helm/repository") --repository-config string Path to the file containing repository names and URLs (default "/home/wikus/.config/helm/repositories.yaml") Logging Flags: --add-dir-header If true, adds the file directory to the header --alsologtostderr Log to standard error as well as files --log-backtrace-at traceLocation When logging hits line file:N, emit a stack trace (default :0) --log-dir string If non-empty, write log files in this directory --log-file string If non-empty, use this log file --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) --logtostderr Log to standard error instead of files (default true) --skip-headers If true, avoid header prefixes in the log messages --skip-log-headers If true, avoid headers when opening log files --stderrthreshold severity Logs at or above this threshold go to stderr (default 2) -v, --v Level Number for the log level verbosity --vmodule moduleSpec Comma-separated list of pattern=N settings for file-filtered logging Use "helm [command] --help" for more information about a command. ``` ```sh helm install ... Flags: --atomic If set, installation process purges chart on fail. The --wait flag will be set automatically if --atomic is used --ca-file string Verify certificates of HTTPS-enabled servers using this CA bundle --cert-file string Identify HTTPS client using this SSL certificate file --dependency-update Run helm dependency update before installing the chart --devel Use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored --dry-run Simulate an install -g, --generate-name Generate the name (and omit the NAME parameter) -h, --help Help for install --key-file string Identify HTTPS client using this SSL key file --keyring string Location of public keys used for verification (default "/home/wikus/.gnupg/pubring.gpg") --name-template string Specify template used to name the release --no-hooks Prevent hooks from running during install -o, --output format Prints the output in the specified format. Allowed values: table, json, yaml (default table) --password string Chart repository password where to locate the requested chart --render-subchart-notes If set, render subchart notes along with the parent --replace Re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production --repo string Chart repository url where to locate the requested chart --set stringArray Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) --set-file stringArray Set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) --set-string stringArray Set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) --skip-crds If set, no CRDs will be installed. By default, CRDs are installed if not already present --timeout duration Time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) --username string Chart repository username where to locate the requested chart -f, --values strings Specify values in a YAML file or a URL(can specify multiple) --verify Verify the package before installing it --version string Specify the exact chart version to install. If this is not specified, the latest version is installed --wait If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout Global Flags: --debug Enable verbose output --kube-context string Name of the kubeconfig context to use --kubeconfig string Path to the kubeconfig file -n, --namespace string Namespace scope for this request --registry-config string Path to the registry config file (default "/home/wikus/.config/helm/registry.json") --repository-cache string Path to the file containing cached repository indexes (default "/home/wikus/.cache/helm/repository") --repository-config string Path to the file containing repository names and URLs (default "/home/wikus/.config/helm/repositories.yaml") Logging Flags: --add-dir-header If true, adds the file directory to the header --alsologtostderr Log to standard error as well as files --log-backtrace-at traceLocation When logging hits line file:N, emit a stack trace (default :0) --log-dir string If non-empty, write log files in this directory --log-file string If non-empty, use this log file --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) --logtostderr Log to standard error instead of files (default true) --skip-headers If true, avoid header prefixes in the log messages --skip-log-headers If true, avoid headers when opening log files --stderrthreshold severity Logs at or above this threshold go to stderr (default 2) -v, --v Level Number for the log level verbosity --vmodule moduleSpec Comma-separated list of pattern=N settings for file-filtered logging ``` Signed-off-by: Charlie Drage <charlie@charliedrage.com>pull/7178/head
parent
17ec5cd3e7
commit
77ad6e45f6
Loading…
Reference in new issue