Skip to content

Commit

Permalink
Document default Usage messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Jan 3, 2024
1 parent e382ed7 commit 618fa8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ type C struct {

// A terse usage summary for the command. Multiple lines are allowed.
// Each line should be self-contained for a particular usage sense.
//
// The name of the command will be automatically inserted at the front of
// each usage line if it is not present. If no usage is defined, the help
// mechanism will generate a default based on the presence of flags and
// subcommands.
Usage string

// A detailed description of the command. Multiple lines are allowed.
Expand Down

0 comments on commit 618fa8d

Please sign in to comment.