Skip to content

Commit 5fab164

Browse files
committed
Add docs to ignore-existing flag
1 parent 099cb5f commit 5fab164

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/stackit_config_profile_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ stackit config profile create PROFILE [flags]
3030
```
3131
--empty Create the profile with the initial default configurations
3232
-h, --help Help for "stackit config profile create"
33-
--ignore-existing Suppress the error if the profile exists already
33+
--ignore-existing Suppress the error if the profile exists already. An existing profile will not be modified or overwritten
3434
--no-set Do not set the profile as the active profile
3535
```
3636

internal/cmd/config/profile/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
8888

8989
func configureFlags(cmd *cobra.Command) {
9090
cmd.Flags().Bool(noSetFlag, false, "Do not set the profile as the active profile")
91-
cmd.Flags().Bool(ignoreExistingFlag, false, "Suppress the error if the profile exists already")
91+
cmd.Flags().Bool(ignoreExistingFlag, false, "Suppress the error if the profile exists already. An existing profile will not be modified or overwritten")
9292
cmd.Flags().Bool(fromEmptyProfile, false, "Create the profile with the initial default configurations")
9393
}
9494

0 commit comments

Comments
 (0)