Skip to content

Commit

Permalink
Improve printing of discovery options in help (#5034)
Browse files Browse the repository at this point in the history
Current:

```
--discover strings             Enable the discovery of nested assets. Supports: all,auto,repos,users,organization,terraform,k8s-manifests
```

With this PR

```
--discover strings             Enable the discovery of nested assets. Supports: all, auto, repos, users, organization, terraform, k8s-manifests
```

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 authored Dec 23, 2024
1 parent 1784c48 commit c2f3ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func genBuiltinFlags(discoveries ...string) []plugin.Flag {
{
Long: "discover",
Type: plugin.FlagType_List,
Desc: "Enable the discovery of nested assets. Supports: " + strings.Join(supportedDiscoveries, ","),
Desc: "Enable the discovery of nested assets. Supports: " + strings.Join(supportedDiscoveries, ", "),
},
{
Long: "pretty",
Expand Down

0 comments on commit c2f3ec5

Please sign in to comment.