Skip to content

Commit

Permalink
added shorthand -R for --remote flag (#1845)
Browse files Browse the repository at this point in the history
Signed-off-by: ntishchauhan0022 <[email protected]>
Co-authored-by: ntishchauhan0022 <[email protected]>
  • Loading branch information
knative-prow-robot and nitishchauhan0022 authored Jul 5, 2023
1 parent 61179d8 commit 528c532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/func_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

Expand Down

0 comments on commit 528c532

Please sign in to comment.