mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
feat(velero): improve usage function
This commit is contained in:
committed by
Dario Tranchitella
parent
502e9a556f
commit
c3f9dfe652
@@ -23,11 +23,13 @@ TENANTS=""
|
||||
usage () {
|
||||
printf "Usage: $0 [flags] commands\n"
|
||||
printf "Flags:\n"
|
||||
printf "\t-c, --kubeconfig\tPath to the kubeconfig file to use for CLI requests.\n"
|
||||
printf "\t-c, --kubeconfig /path/to/config\tPath to the kubeconfig file to use for CLI requests.\n"
|
||||
printf "\t-t, --tenant \"gas oil\"\t\tSpecify one or more tenants to be restored.\n"
|
||||
printf "Commands:\n"
|
||||
printf "\trestore\t\t\tPerform the restore on the cluster, patching the right object fields.\n"
|
||||
printf "\n"
|
||||
printf "E.g. [restore]:\t$0 -c /path/to/kubeconfig restore\n"
|
||||
printf "E.g. [restore]:\t$0 -t \"oil\" restore\n"
|
||||
}
|
||||
|
||||
# Update KUBEOPTIONS global var.
|
||||
|
||||
Reference in New Issue
Block a user