Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b0a2dce1
Commit
b0a2dce1
authored
Nov 12, 2015
by
U-CIQDEV\gbazerman
Browse files
change option name
parent
46f8096b
Changes
2
Show whitespace changes
Inline
Side-by-side
Cabal/doc/installing-packages.markdown
View file @
b0a2dce1
...
@@ -610,7 +610,7 @@ be controlled with the following command line options.
...
@@ -610,7 +610,7 @@ be controlled with the following command line options.
be a file or directory. Not all implementations support arbitrary
be a file or directory. Not all implementations support arbitrary
package databases.
package databases.
`--
constraints-file
=`
_file_
`--
default-user-config
=`
_file_
: Allows a "default"
`cabal.config`
freeze file to be passed in
: Allows a "default"
`cabal.config`
freeze file to be passed in
manually. This file will only be used if one does not exist in the
manually. This file will only be used if one does not exist in the
project directory already. Typically, this can be set from the global
project directory already. Typically, this can be set from the global
...
...
cabal-install/Distribution/Client/Setup.hs
View file @
b0a2dce1
...
@@ -285,8 +285,8 @@ globalCommand commands = CommandUI {
...
@@ -285,8 +285,8 @@ globalCommand commands = CommandUI {
globalConfigFile
(
\
v
flags
->
flags
{
globalSandboxConfigFile
=
v
})
globalConfigFile
(
\
v
flags
->
flags
{
globalSandboxConfigFile
=
v
})
(
reqArgFlag
"FILE"
)
(
reqArgFlag
"FILE"
)
,
option
[]
[
"
constraints-file
"
]
,
option
[]
[
"
default-user-config
"
]
"Set a location for a
glo
bal
con
straints
file for projects without their own cabal.config freeze file."
"Set a location for a
ca
bal
.
con
fig
file for projects without their own cabal.config freeze file."
globalConfigFile
(
\
v
flags
->
flags
{
globalConstraintsFile
=
v
})
globalConfigFile
(
\
v
flags
->
flags
{
globalConstraintsFile
=
v
})
(
reqArgFlag
"FILE"
)
(
reqArgFlag
"FILE"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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