Skip to content

Commit

Permalink
fix: Format example usage correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Jun 27, 2023
1 parent 726af34 commit 65339e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ func GetRootCommand() *cobra.Command {
Long: "Lists all images those are part of specified chart/release and matches the pattern or part of specified " +
"registry.",
Example: ` helm list-images path/to/chart/prometheus-standalone -f ~/path/to/override-config.yaml
helm list-images prometheus-standalone --from-release --registry quay.io
helm list-images prometheus-standalone --from-release --registry quay.io --unique
helm list-images prometheus-standalone --from-release --registry quay.io --yaml`,
helm list-images prometheus-standalone --from-release --registry quay.io
helm list-images prometheus-standalone --from-release --registry quay.io --unique
helm list-images prometheus-standalone --from-release --registry quay.io --yaml`,
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
verflag.PrintAndExitIfRequested()
Expand Down
6 changes: 3 additions & 3 deletions docs/doc/list-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ list-images CHART|RELEASE [flags]

```
helm list-images path/to/chart/prometheus-standalone -f ~/path/to/override-config.yaml
helm list-images prometheus-standalone --from-release --registry quay.io
helm list-images prometheus-standalone --from-release --registry quay.io --unique
helm list-images prometheus-standalone --from-release --registry quay.io --yaml
helm list-images prometheus-standalone --from-release --registry quay.io
helm list-images prometheus-standalone --from-release --registry quay.io --unique
helm list-images prometheus-standalone --from-release --registry quay.io --yaml
```

### Options
Expand Down

0 comments on commit 65339e2

Please sign in to comment.