Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
240900dd
Unverified
Commit
240900dd
authored
Sep 17, 2016
by
ttuegel
Browse files
Add examples to help text for reconfigure command
parent
df8d036c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Setup.hs
View file @
240900dd
...
...
@@ -508,11 +508,18 @@ reconfigureCommand
{
commandName
=
"reconfigure"
,
commandSynopsis
=
"Reconfigure the package if necessary."
,
commandDescription
=
Just
$
\
pname
->
wrapText
$
"Run `configure` with the most recently used flags and append FLAGS. "
"Run `configure` with the most recently used flags, or append FLAGS "
++
"to the most recently used configuration. "
++
"Accepts the same flags as `"
++
pname
++
" configure'. "
++
"If the package has never been configured, this has the same "
++
"effect as calling `configure`."
,
commandNotes
=
Nothing
++
"If the package has never been configured, the default flags are "
++
"used."
,
commandNotes
=
Just
$
\
pname
->
"Examples:
\n
"
++
" "
++
pname
++
" reconfigure
\n
"
++
" Configure with the most recently used flags.
\n
"
++
" "
++
pname
++
" reconfigure -w PATH
\n
"
++
" Reconfigure with the most recently used flags,
\n
"
++
" but use the compiler at PATH.
\n\n
"
,
commandUsage
=
usageAlternatives
"reconfigure"
[
"[FLAGS]"
]
,
commandDefaultFlags
=
mempty
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment