Skip to content

Commit

Permalink
Improve printing of discovery options in help
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 <[email protected]>
  • Loading branch information
tas50 committed Dec 23, 2024
1 parent 1784c48 commit d642a51
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 d642a51

Please sign in to comment.