summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Donizetti <jdbjunior@gmail.com>2020-05-07 12:31:58 -0300
committerGitHub <noreply@github.com>2020-05-07 09:31:58 -0600
commit43fba378d67632084f06d26f15c5ffd6f3168540 (patch)
tree53bce3be35278b30f90752c9b8b57e22706864fe
parentcd9317e5df6210c0530dd30ffc817dc07f9c7c0c (diff)
docs: Fix command.Func documentation (#3371)
-rw-r--r--cmd/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/commands.go b/cmd/commands.go
index 43aba01..e02f6a0 100644
--- a/cmd/commands.go
+++ b/cmd/commands.go
@@ -27,7 +27,7 @@ type Command struct {
// Required.
Name string
- // Run is a function that executes a subcommand using
+ // Func is a function that executes a subcommand using
// the parsed flags. It returns an exit code and any
// associated error.
// Required.