diff --git a/cmd/deploy.go b/cmd/deploy.go index c4ce00af34..380542616f 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -163,7 +163,7 @@ EXAMPLES "Git revision (branch) to be used when deploying via the Git repository ($FUNC_GIT_BRANCH)") cmd.Flags().StringP("git-dir", "d", f.Build.Git.ContextDir, "Directory in the Git repository containing the function (default is the root) ($FUNC_GIT_DIR)") - cmd.Flags().Bool("remote", f.Deploy.Remote, + cmd.Flags().BoolP("remote", "R", f.Deploy.Remote, "Trigger a remote deployment. Default is to deploy and build from the local system ($FUNC_REMOTE)") cmd.Flags().String("pvc-size", fn.DefaultPersistentVolumeClaimSize, "Configure the PVC size used by a pipeline during remote build.") diff --git a/docs/reference/func_deploy.md b/docs/reference/func_deploy.md index 00614c5234..f0b960f95e 100644 --- a/docs/reference/func_deploy.md +++ b/docs/reference/func_deploy.md @@ -119,7 +119,7 @@ func deploy -u, --push Push the function image to registry before deploying. ($FUNC_PUSH) (default true) --pvc-size string Configure the PVC size used by a pipeline during remote build. (default "256Mi") -r, --registry string Container registry + registry namespace. (ex 'ghcr.io/myuser'). The full image name is automatically determined using this along with function name. ($FUNC_REGISTRY) - --remote Trigger a remote deployment. Default is to deploy and build from the local system ($FUNC_REMOTE) + -R, --remote Trigger a remote deployment. Default is to deploy and build from the local system ($FUNC_REMOTE) -v, --verbose Print verbose logs ($FUNC_VERBOSE) ```