Skip to content

Commit 5a02122

Browse files
authored
Merge pull request #2893 from lwm/fixup-hoogle-help
Try to make `stack hoogle --help` more helpful.
2 parents 6426ddd + 8c240ba commit 5a02122

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/Main.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,14 @@ commandLineHandler progName isInterpreter = complicatedOptions
318318
execCmd
319319
(execOptsParser $ Just ExecGhc)
320320
addCommand' "hoogle"
321-
"Run hoogle in the context of the current Stack config"
321+
("Run hoogle, the Haskell API search engine. Use 'stack exec' syntax " ++
322+
"to pass Hoogle arguments, e.g. stack hoogle -- --count=20")
322323
hoogleCmd
323324
((,,) <$> many (strArgument (metavar "ARG"))
324325
<*> boolFlags
325326
True
326327
"setup"
327-
"If needed: Install hoogle, build haddocks, generate a hoogle database"
328+
"If needed: install hoogle, build haddocks and generate a hoogle database"
328329
idm
329330
<*> switch
330331
(long "rebuild" <>

0 commit comments

Comments
 (0)