Skip to content

Commit

Permalink
Merge pull request #4 from HamzaZo/feat/fix-debug
Browse files Browse the repository at this point in the history
Feat/fix debug
  • Loading branch information
HamzaZo authored May 18, 2021
2 parents 2044e46 + 988a5e4 commit 69a1298
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -76,7 +76,7 @@ Usage:
adopt resources <pluralKind>:<name> [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
Expand Down
2 changes: 1 addition & 1 deletion cmd/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 69a1298

Please sign in to comment.