diff --git a/cmd/skaffold/app/cmd/render.go b/cmd/skaffold/app/cmd/render.go index 85a03a69413..221299e8e07 100644 --- a/cmd/skaffold/app/cmd/render.go +++ b/cmd/skaffold/app/cmd/render.go @@ -47,7 +47,7 @@ func NewCmdRender() *cobra.Command { {Value: &showBuild, Name: "loud", DefValue: false, Usage: "Show the build logs and output", IsEnum: true}, {Value: &renderFromBuildOutputFile, Name: "build-artifacts", Shorthand: "a", Usage: "File containing build result from a previous 'skaffold build --file-output'"}, {Value: &offline, Name: "offline", DefValue: false, Usage: `Do not connect to Kubernetes API server for manifest creation and validation. This is helpful when no Kubernetes cluster is available (e.g. GitOps model). No metadata.namespace attribute is injected in this case - the manifest content does not get changed.`, IsEnum: true}, - {Value: &renderOutputPath, Name: "output", DefValue: "", Usage: "file to write rendered manifests to"}, + {Value: &renderOutputPath, Name: "output", Shorthand: "o", DefValue: "", Usage: "file to write rendered manifests to"}, {Value: &opts.DigestSource, Name: "digest-source", DefValue: "local", Usage: "Set to 'local' to build images locally and use digests from built images; Set to 'remote' to resolve the digest of images by tag from the remote registry; Set to 'none' to use tags directly from the Kubernetes manifests. Set to 'tag' to use tags directly from the build.", IsEnum: true}, }). WithHouseKeepingMessages(). diff --git a/docs/content/en/docs/references/cli/_index.md b/docs/content/en/docs/references/cli/_index.md index fe43f61a137..a5242b12c0c 100644 --- a/docs/content/en/docs/references/cli/_index.md +++ b/docs/content/en/docs/references/cli/_index.md @@ -833,7 +833,7 @@ Options: -m, --module=[]: Filter Skaffold configs to only the provided named modules -n, --namespace='': Run deployments in the specified namespace --offline=false: Do not connect to Kubernetes API server for manifest creation and validation. This is helpful when no Kubernetes cluster is available (e.g. GitOps model). No metadata.namespace attribute is injected in this case - the manifest content does not get changed. - --output='': file to write rendered manifests to + -o, --output='': file to write rendered manifests to -p, --profile=[]: Activate profiles by name (prefixed with `-` to disable a profile) --profile-auto-activation=true: Set to false to disable profile auto activation --remote-cache-dir='': Specify the location of the git repositories cache (default $HOME/.skaffold/repos)