Skip to content

Commit

Permalink
Fix some documentation comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair authored Sep 5, 2024
1 parent bcf7a85 commit f088f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import (
"os"
)

// Env is the environment passed to the Run function of a command. The
// Env is the environment passed to the Run and Init functions of a command. The
// environment carries command, context, configuration data, and arguments for the
// command, and records the path from the root of the command tree.
//
// An Env implements the [io.Writer] interface, and should be used for any
// diagnostic output the command wishes to emit. Primary command output should
// be sent to stdout.
type Env struct {
// Parent is the environemnt of the command for which this is a direct
// Parent is the environmnt of the command for which this is a direct
// subcommand. For the root command, Parent is nil.
Parent *Env

Expand Down

0 comments on commit f088f6c

Please sign in to comment.