Commit 1a8744de authored by Matt Renaud's avatar Matt Renaud Committed by Mikhail Glushenkov

Update changelog and re-word init command description.

[ci skip]
parent 372eb9a3
......@@ -2197,17 +2197,17 @@ defaultInitFlags = emptyInitFlags { IT.initVerbosity = toFlag normal }
initCommand :: CommandUI IT.InitFlags
initCommand = CommandUI {
commandName = "init",
commandSynopsis = "Create a new .cabal package file (interactively).",
commandSynopsis = "Create a new .cabal package file.",
commandDescription = Just $ \_ -> wrapText $
"Cabalise a project by creating a .cabal, Setup.hs, and "
++ "optionally a LICENSE file.\n"
"Create a .cabal, Setup.hs, and optionally a LICENSE file.\n"
++ "\n"
++ "Calling init with no arguments (recommended) uses an "
++ "interactive mode, which will try to guess as much as "
++ "possible and prompt you for the rest. Command-line "
++ "arguments are provided for scripting purposes. "
++ "If you don't want interactive mode, be sure to pass "
++ "the -n flag.\n",
++ "Calling init with no arguments creates an executable, "
++ "guessing as many options as possible. The interactive "
++ "mode can be invoked by the -i/--interactive flag, which "
++ "will try to guess as much as possible and prompt you for "
++ "the rest. You can change init to always be interactive by "
++ "setting the interactive flag in your configuration file. "
++ "Command-line arguments are provided for scripting purposes.\n"
commandNotes = Nothing,
commandUsage = \pname ->
"Usage: " ++ pname ++ " init [FLAGS]\n",
......
......@@ -27,6 +27,7 @@
that make it possible to copy the executable instead of symlinking it
* --symlink-bindir no longer controls the symlinking directory of
v2-install (installdir controls both symlinking and copying now)
* Default to non-interactive init.
2.4.1.0 Mikhail Glushenkov <mikhail.glushenkov@gmail.com> November 2018
* Add message to alert user to potential package casing errors. (#5635)
......
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