Skip to content

Commit

Permalink
Fix typos in command help for callgraph and resolve commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Nov 30, 2023
1 parent 04b9b9a commit c0afb6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/callgraph/callgraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Special Terms | Meaning
Exclude flags could alternatively be set using DEBRICKED_EXCLUSIONS="path1,path2,path3".
Example:
$ debricked files resolve . `+exampleFlags)
$ debricked callgraph . `+exampleFlags)
cmd.Flags().BoolVar(&buildDisabled, NoBuildFlag, false, `Do not automatically build all source code in the project to enable call graph generation.
This option requires a pre-built project. For more detailed documentation on the callgraph generation, visit our portal:
https://portal.debricked.com/debricked-cli-63/debricked-cli-documentation-298?tid=298&fid=63#callgraph`)
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/resolve/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const (

func NewResolveCmd(resolver resolution.IResolver) *cobra.Command {
cmd := &cobra.Command{
Use: "resolve [path]",
Use: "resolve [path] [path2] [path3] [path...]",
Short: "Resolve manifest files",
Long: `Resolve manifest files. If a directory is inputted all manifest files without a lock file are resolved.
Example:
$ debricked files resolve go.mod pkg/
$ debricked resolve go.mod pkg/
`,
PreRun: func(cmd *cobra.Command, _ []string) {
_ = viper.BindPFlags(cmd.Flags())
Expand All @@ -44,7 +44,7 @@ Special Terms | Meaning
Exclude flags could alternatively be set using DEBRICKED_EXCLUSIONS="path1,path2,path3".
Example:
$ debricked files resolve . `+exampleFlags)
$ debricked resolve . `+exampleFlags)

viper.MustBindEnv(ExclusionFlag)

Expand Down

0 comments on commit c0afb6e

Please sign in to comment.