diff --git a/README.md b/README.md index 66b8c41..68e1c58 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ you to : * adopt existing k8s resources by generating a helm chart * migrate adopted resources to be controlled by helm * create a helm release using secret as driver -* perform a dry-run/debug (optional) +* perform a dry-run/debug-mode (optional) *Note:* `adopt` does not re-create resources. @@ -76,7 +76,7 @@ Usage: adopt resources : [flags] Flags: - --debug Show the generated manifests on STDOUT + --debug-mode Show the generated manifests on STDOUT --dry-run Print what resources will be adopted -h, --help help for resources -c, --kube-context string name of the kubeconfig context to use diff --git a/cmd/resources.go b/cmd/resources.go index fa37b21..3a3306b 100644 --- a/cmd/resources.go +++ b/cmd/resources.go @@ -60,7 +60,7 @@ func NewResourcesCmd(out io.Writer) *cobra.Command { cmd.MarkFlagRequired("output") flags.StringVarP(&releaseName, "release", "r", "", "Specify the name for the generated release") flags.BoolVar(&dryRun, "dry-run", false, "Print what resources will be adopted ") - flags.BoolVar(&debug, "debug", false, "Show the generated manifests on STDOUT") + flags.BoolVar(&debug, "debug-mode", false, "Show the generated manifests on STDOUT") Settings.AddFlags(flags)