88// Command is the fundamental interface implemented by types that are runnable commands or subcommands. Commands can
99// be executed with [Execute].
1010//
11- // Concrete types can implement additional interfaces to configure additional behaviour , like setup/teardown routines,
12- // subcommands, command-line flags, and other behaviour :
11+ // Concrete types can implement additional interfaces to configure additional behavior , like setup/teardown routines,
12+ // subcommands, command-line flags, and other behavior :
1313//
1414// - If you want to configure setup and teardown routines for a command, see [Initializer] and [Destroyer].
1515// - If your command has subcommands, see [RootCommand].
@@ -79,7 +79,7 @@ type Documented interface {
7979 //
8080 // Here are a few examples:
8181 //
82- // git add [<options>] [--] <pathspec >...
82+ // git add [<options>] [--] <path spec >...
8383 // kubectl get [(-o|--output=)json|yaml|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] [options]
8484 // crane index filter [flags]
8585 UsageLine () string
@@ -95,7 +95,7 @@ type Documented interface {
9595 ShortHelpText () string
9696
9797 // HelpText returns longer usage and help information for your users about this subcommand. Here you can describe
98- // the behaviour of your command, summarize usage of certain flags and arguments and provide hints on where to find
98+ // the behavior of your command, summarize usage of certain flags and arguments and provide hints on where to find
9999 // additional information. This is akin to the "DESCRIPTION" section you would typically find in a man page.
100100 //
101101 // For a better viewing experience in terminals, consider maintaining consistent line length limits (120 is a good
@@ -124,7 +124,7 @@ var (
124124 _ HiddenCommand = & CommandDocumentation {}
125125)
126126
127- // CommandDocumentation implements [Documented] and can be embdded in command types to reduce boilerplate.
127+ // CommandDocumentation implements [Documented] and can be embedded in command types to reduce boilerplate.
128128type CommandDocumentation struct {
129129 // The usage line. See UsageLine() in [Documented].
130130 Usage string
0 commit comments