Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
8603af50
Commit
8603af50
authored
Oct 14, 2011
by
Brent Yorgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: improve prompt: 'homepage' field is not for repos.
parent
14e748d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cabal-install/Distribution/Client/Init.hs
cabal-install/Distribution/Client/Init.hs
+1
-1
No files found.
cabal-install/Distribution/Client/Init.hs
View file @
8603af50
...
...
@@ -169,7 +169,7 @@ getHomepage :: InitFlags -> IO InitFlags
getHomepage
flags
=
do
hp
<-
queryHomepage
hp'
<-
return
(
flagToMaybe
$
homepage
flags
)
?>>
maybePrompt
flags
(
promptStr
"Project homepage
/repo
URL"
hp
)
?>>
maybePrompt
flags
(
promptStr
"Project homepage URL"
hp
)
?>>
return
hp
return
$
flags
{
homepage
=
maybeToFlag
hp'
}
...
...
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