Skip to content

Commit

Permalink
Update controller-gen CLI documentation for paths argument
Browse files Browse the repository at this point in the history
Add paths description on how to specify multiple paths.
  • Loading branch information
padlar committed Aug 17, 2022
1 parent 8a80a3b commit 755906c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkg/genall/options.go
Expand Up @@ -30,6 +30,8 @@ var (
// +controllertools:marker:generateHelp:category=""

// InputPaths represents paths and go-style path patterns to use as package roots.
//
// Multiple paths can be specified using "{path1, path2, path3}".
type InputPaths []string

// RegisterOptionsMarkers registers "mandatory" options markers for FromOptions into the given registry.
Expand Down
4 changes: 2 additions & 2 deletions pkg/genall/zz_generated.markerhelp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 755906c

Please sign in to comment.