Skip to content
Browse files

More accurate documentation for `commandUsage`

  • Loading branch information...
1 parent 5b5d492 commit a41ccc74130dda4cf38511a79211529615ac9283 @sol committed Nov 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Cabal/Distribution/Simple/Command.hs
View
3 Cabal/Distribution/Simple/Command.hs
@@ -103,7 +103,8 @@ data CommandUI flags = CommandUI {
commandName :: String,
-- | A short, one line description of the command to use in help texts.
commandSynopsis :: String,
- -- | The usage line summary for this command
+ -- | A function that maps a program name to a usage summary for this
+ -- command.
commandUsage :: String -> String,
-- | Additional explanation of the command to use in help texts.
commandDescription :: Maybe (String -> String),

0 comments on commit a41ccc7

Please sign in to comment.
Something went wrong with that request. Please try again.