File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ targetsParser =
121121 many (textArgument
122122 ( metavar " TARGET"
123123 <> completer targetCompleter
124- <> help " If none specified, use all project packages. See \
124+ <> help " Can be specified multiple times. If none specified, use all \
125+ \project packages. See \
125126 \https://docs.haskellstack.org/en/stable/build_command/#target-syntax \
126127 \for details."
127128 ))
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ import Stack.Prelude
2424-- | Parse command line arguments for Stack's @ls@ command.
2525lsOptsParser :: OA. Parser LsCmdOpts
2626lsOptsParser = LsCmdOpts
27- <$> OA. hsubparser
28- ( lsSnapCmd
29- <> lsGlobalsCmd
30- <> lsDepsCmd
31- <> lsStylesCmd
27+ <$> OA. hsubparser
28+ ( lsSnapCmd
29+ <> lsGlobalsCmd
30+ <> lsDepsCmd
31+ <> lsStylesCmd
3232 <> lsToolsCmd
3333 )
3434
@@ -47,7 +47,10 @@ lsGlobalsCmd = OA.command "globals" $
4747lsDepsCmd :: OA. Mod OA. CommandFields LsCmds
4848lsDepsCmd = OA. command " dependencies" $
4949 OA. info lsDepOptsParser $
50- OA. progDesc " View the dependencies."
50+ OA. progDesc
51+ " View the packages and versions used for a project. Use a command if \
52+ \the first target specified has the name of a command. Targets other \
53+ \than project packages are ignored."
5154 <> OA. footer globalFooter
5255
5356lsStylesCmd :: OA. Mod OA. CommandFields LsCmds
You can’t perform that action at this time.
0 commit comments