From 9fe91c66b3f9b0b9b666bb677c03b5e36e281368 Mon Sep 17 00:00:00 2001 From: Hongchol Sinn <83615060+hsinn0@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:06:57 -0700 Subject: [PATCH] fix documentation of global command option `no-access-plan` (#583) Co-authored-by: Stephan Freudl --- configcommands/global.go | 2 +- docs/config/global/README.md | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configcommands/global.go b/configcommands/global.go index 66111739..107a5f6d 100644 --- a/configcommands/global.go +++ b/configcommands/global.go @@ -168,5 +168,5 @@ type GlobalServiceAccess struct { LimitedAccessPlan string `long:"limited-access-plan" description:"Plan to give limited access to, must also provide org list"` OrgsToAdd []string `long:"org" description:"Orgs to add to limited plan"` OrgsToRemove []string `long:"remove-org" description:"Orgs to remove from limited plan"` - NoAccessPlan string `long:"no-access-plan" description:"Plan to give access to all orgs"` + NoAccessPlan string `long:"no-access-plan" description:"Plan to ensure no access for any org"` } diff --git a/docs/config/global/README.md b/docs/config/global/README.md index 0884a09c..159e226e 100644 --- a/docs/config/global/README.md +++ b/docs/config/global/README.md @@ -8,10 +8,10 @@ ``` Usage: - main [OPTIONS] global [global-OPTIONS] + cf-mgmt-config [OPTIONS] global [global-OPTIONS] Help Options: - -h, --help Show this help message + -h, --help Show this help message [global command options] --config-dir= Name of the config directory (default: config) [$CONFIG_DIR] @@ -33,11 +33,11 @@ Help Options: --remove-shared-domain= Shared Domain to remove service-access: - --broker= Name of Broker - --service= Name of Service - --all-access-plan= Plan to give access to all orgs - --limited-access-plan= Plan to give limited access to, must also provide org list - --org= Orgs to add to limited plan - --remove-org= Orgs to remove from limited plan - --no-access-plan= Plan to give access to all orgs + --broker= Name of Broker + --service= Name of Service + --all-access-plan= Plan to give access to all orgs + --limited-access-plan= Plan to give limited access to, must also provide org list + --org= Orgs to add to limited plan + --remove-org= Orgs to remove from limited plan + --no-access-plan= Plan to ensure no access for any org ```