Skip to content

Commit bb0466a

Browse files
committed
enhance description
1 parent 7572497 commit bb0466a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/user/gen-docs/kyma_module_add.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ kyma module add <module> [flags]
3030
```text
3131
--auto-approve Automatically approve community module installation
3232
-c, --channel string Name of the Kyma channel to use for the module
33-
--config-cr-path string Path to the custom resource file (alias: --cr-path)
34-
--default-config-cr Deploys the module with the default CR (alias: --default-cr)
33+
--config-cr-path string Path to the manifest file with custom configuration (alias: --cr-path)
34+
--default-config-cr Deploys the module with default configuration (alias: --default-cr)
3535
--version string Specifies version of the community module to install
3636
--context string The name of the kubeconfig context to use
3737
-h, --help Help for the command

internal/cmd/module/add.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ func newAddCMD(kymaConfig *cmdcommon.KymaConfig) *cobra.Command {
6666
cmd.Flags().StringVarP(&cfg.channel, "channel", "c", "", "Name of the Kyma channel to use for the module")
6767
cmd.Flags().StringVar(&cfg.crPath, "cr-path", "", "Path to the custom resource file")
6868
_ = cmd.Flags().MarkHidden("cr-path")
69-
cmd.Flags().StringVar(&cfg.crPath, "config-cr-path", "", "Path to the custom resource file (alias: --cr-path)")
69+
cmd.Flags().StringVar(&cfg.crPath, "config-cr-path", "", "Path to the manifest file with custom configuration (alias: --cr-path)")
7070
cmd.Flags().BoolVar(&cfg.defaultCR, "default-cr", false, "Deploys the module with the default CR")
7171
_ = cmd.Flags().MarkHidden("default-cr")
72-
cmd.Flags().BoolVar(&cfg.defaultCR, "default-config-cr", false, "Deploys the module with the default CR (alias: --default-cr)")
72+
cmd.Flags().BoolVar(&cfg.defaultCR, "default-config-cr", false, "Deploys the module with default configuration (alias: --default-cr)")
7373
cmd.Flags().BoolVar(&cfg.autoApprove, "auto-approve", false, "Automatically approve community module installation")
7474
cmd.Flags().StringVar(&cfg.version, "version", "", "Specifies version of the community module to install")
7575
cmd.Flags().StringVar(&cfg.modulePath, "origin", "", "Specifies the source of the module (kyma or custom name)")

0 commit comments

Comments
 (0)