Compare commits

..

2 Commits

1 changed files with 3 additions and 2 deletions

View File

@ -5647,6 +5647,7 @@ def task_init(confirm_flag, overwrite_flag):
) )
@click.option( @click.option(
"--colour", "--colour",
"--color",
"_colour", "_colour",
envvar="PVC_COLOUR", envvar="PVC_COLOUR",
is_flag=True, is_flag=True,
@ -5668,9 +5669,9 @@ def cli(_cluster, _debug, _quiet, _unsafe, _colour):
"PVC_QUIET": Suppress stderr connection output from client instead of using --quiet/-q "PVC_QUIET": Suppress stderr connection output from client instead of using --quiet/-q
"PVC_UNSAFE": Suppress confirmation requirements instead of using --unsafe/-u or --yes/-y; USE WITH EXTREME CARE "PVC_UNSAFE": Always suppress confirmations instead of needing --unsafe/-u or --yes/-y; USE WITH EXTREME CARE
"PVC_COLOUR": Forces colour on the output console even if Click determines it is not a console (e.g. with 'watch') "PVC_COLOUR": Force colour on the output even if Click determines it is not a console (e.g. with 'watch')
If no PVC_CLUSTER/--cluster is specified, attempts first to load the "local" cluster, checking If no PVC_CLUSTER/--cluster is specified, attempts first to load the "local" cluster, checking
for an API configuration in "/etc/pvc/pvcapid.yaml". If this is also not found, abort. for an API configuration in "/etc/pvc/pvcapid.yaml". If this is also not found, abort.