Commit 563bd1fe authored by barmston's avatar barmston Committed by Mikhail Glushenkov
Browse files

Improve exec help text

The arguments to the executable already required separating the from arguments
to cabal. The help text just didn't reflect that.
parent 4a7b41b8
......@@ -1625,10 +1625,10 @@ defaultExecFlags = ExecFlags {
execCommand :: CommandUI ExecFlags
execCommand = CommandUI {
commandName = "exec",
commandSynopsis = "Run a shell command with the cabal environment",
commandSynopsis = "Run a command with the cabal environment",
commandDescription = Nothing,
commandUsage = \pname ->
"Usage: " ++ pname ++ " exec COMMAND [ARGS]\n\n"
"Usage: " ++ pname ++ " exec [FLAGS] COMMAND [-- [ARGS...]]\n\n"
++ "Flags for exec:",
commandDefaultFlags = defaultExecFlags,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment