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
f8095ac4
Commit
f8095ac4
authored
Oct 06, 2016
by
bardur.arantsson
Committed by
GitHub
Oct 06, 2016
Browse files
Merge pull request #3937 from 23Skidoo/config-init-more-obvious
Make the initial '~/.cabal/config' comment more obvious.
parents
ff08346c
47cf508b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Config.hs
View file @
f8095ac4
...
...
@@ -668,14 +668,16 @@ writeConfigFile file comments vals = do
where
explanation
=
unlines
[
"-- This is the configuration file for the 'cabal' command line tool."
,
""
,
"
--
"
,
"-- The available configuration options are listed below."
,
"-- Some of them have default values listed."
,
""
,
"
--
"
,
"-- Lines (like this one) beginning with '--' are comments."
,
"-- Be careful with spaces and indentation because they are"
,
"-- used to indicate layout for nested sections."
,
""
,
"--"
,
"-- This config file was generated using the following versions"
,
"-- of Cabal and cabal-install:"
,
"-- Cabal library version: "
++
Text
.
display
cabalVersion
,
"-- cabal-install version: "
++
showVersion
Paths_cabal_install
.
version
,
""
,
""
...
...
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