Skip to content

Commit

Permalink
remove dry-run flags (#1094)
Browse files Browse the repository at this point in the history
* remove dry-run flags

* run make docs-gen
  • Loading branch information
adelowo authored Jun 23, 2020
1 parent 615c787 commit 18b4a63
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions cmd/porter/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ will then provide it to the bundle in the correct location. `,
"Path to the porter manifest file. Defaults to the bundle in the current directory.")
f.StringVar(&opts.CNABFile, "cnab-file", "",
"Path to the CNAB bundle.json file.")
f.BoolVar(&opts.DryRun, "dry-run", false,
"Generate credential but do not save it.")
f.StringVar(&opts.Tag, "tag", "",
"Use a bundle in an OCI registry specified by the given tag.")
f.BoolVar(&opts.Force, "force", false,
Expand Down
2 changes: 0 additions & 2 deletions cmd/porter/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ will then provide it to the bundle in the correct location. `,
"Path to the porter manifest file. Defaults to the bundle in the current directory.")
f.StringVar(&opts.CNABFile, "cnab-file", "",
"Path to the CNAB bundle.json file.")
f.BoolVar(&opts.DryRun, "dry-run", false,
"Generate parameter set but do not save it.")
f.StringVar(&opts.Tag, "tag", "",
"Use a bundle in an OCI registry specified by the given tag.")
f.BoolVar(&opts.Force, "force", false,
Expand Down
1 change: 0 additions & 1 deletion docs/content/cli/credentials_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ porter credentials generate [NAME] [flags]

```
--cnab-file string Path to the CNAB bundle.json file.
--dry-run Generate credential but do not save it.
-f, --file string Path to the porter manifest file. Defaults to the bundle in the current directory.
--force Force a fresh pull of the bundle
-h, --help help for generate
Expand Down
1 change: 0 additions & 1 deletion docs/content/cli/parameters_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ porter parameters generate [NAME] [flags]

```
--cnab-file string Path to the CNAB bundle.json file.
--dry-run Generate parameter set but do not save it.
-f, --file string Path to the porter manifest file. Defaults to the bundle in the current directory.
--force Force a fresh pull of the bundle
-h, --help help for generate
Expand Down

0 comments on commit 18b4a63

Please sign in to comment.