@@ -3020,12 +3020,12 @@ initCommand =
30203020 wrapText $
30213021 " Create a .cabal, CHANGELOG.md, minimal initial Haskell code and optionally a LICENSE file.\n "
30223022 ++ " \n "
3023- ++ " Calling init with no arguments runs interactive mode, "
3023+ ++ " Calling init with no arguments runs interactive mode by default , "
30243024 ++ " which will try to guess as much as possible and prompt you for the rest.\n "
30253025 ++ " Non-interactive mode can be invoked by the -n/--non-interactive flag, "
3026- ++ " which will let you specify the options via flags and will use the defaults for the rest. \n "
3027- ++ " It is also possible to call init with a single argument, which denotes the project's desired "
3028- ++ " root directory .\n "
3026+ ++ " which will let you specify the options via flags and will either use the defaults for the rest, "
3027+ ++ " or attempt to infer sensible defaults from your local development environment (e.g. $PATH). \n "
3028+ ++ " For a basic simple project with minimal prompting and sensible defaults, issue the --simple flag .\n "
30293029 , commandNotes = Nothing
30303030 , commandUsage = \ pname ->
30313031 " Usage: " ++ pname ++ " init [PROJECT ROOT] [FLAGS]\n "
@@ -3038,7 +3038,10 @@ initOptions _ =
30383038 [ option
30393039 [' i' ]
30403040 [" interactive" ]
3041- " interactive mode."
3041+ ( " Interactive mode. Creates a prompt tree for project creation. \n "
3042+ ++ " If -n/--non-interactive is issued, a simple project with inferred defaults \n "
3043+ ++ " is created. If --simple is issued, then sensible defaults will be chosen as well."
3044+ )
30423045 IT. interactive
30433046 (\ v flags -> flags{IT. interactive = v})
30443047 (boolOpt' ([' i' ], [" interactive" ]) ([' n' ], [" non-interactive" ]))
0 commit comments