Skip to content

Commit

Permalink
Merge pull request #941 from jdolitsky/fix-creds-help
Browse files Browse the repository at this point in the history
Fix help text for porter credentials
  • Loading branch information
carolynvs-msft authored Mar 9, 2020
2 parents bda88fe + 1203b81 commit 42fc493
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/porter/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ When you wish to install, upgrade or delete a bundle, Porter will use the
credential set to determine where to read the necessary information from and
will then provide it to the bundle in the correct location. `,
Example: ` porter credential generate
porter bundle credential generate kubecred --file myapp/porter.yaml
porter bundle credential generate kubecred --tag getporter/porter-hello:v0.1.0
porter bundle credential generate kubecred --cnab-file myapp/bundle.json --dry-run
porter credential generate kubecred --file myapp/porter.yaml
porter credential generate kubecred --tag getporter/porter-hello:v0.1.0
porter credential generate kubecred --cnab-file myapp/bundle.json --dry-run
`,
PreRunE: func(cmd *cobra.Command, args []string) error {
return opts.Validate(args, p.Context)
Expand Down
6 changes: 3 additions & 3 deletions docs/content/cli/credentials_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ porter credentials generate [NAME] [flags]

```
porter credential generate
porter bundle credential generate kubecred --file myapp/porter.yaml
porter bundle credential generate kubecred --tag getporter/porter-hello:v0.1.0
porter bundle credential generate kubecred --cnab-file myapp/bundle.json --dry-run
porter credential generate kubecred --file myapp/porter.yaml
porter credential generate kubecred --tag getporter/porter-hello:v0.1.0
porter credential generate kubecred --cnab-file myapp/bundle.json --dry-run
```

Expand Down

0 comments on commit 42fc493

Please sign in to comment.