File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ Behavior changes:
131131 ` recommend-stack-upgrade: false ` to bypass this. See
132132 [ #1681 ] ( https://github.com/commercialhaskell/stack/issues/1681 ) .
133133
134+ * ` stack list-dependencies ` has been removed in favour of ` stack ls dependencies ` .
135+
134136Other enhancements:
135137
136138* Support MX Linux in get-stack.sh. Fixes
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ dotOptsParser externalDefault =
5656 globalHints = switch (long " global-hints" <>
5757 help " Do not require an install GHC; instead, use a hints file for global packages" )
5858
59- -- | Parser for arguments to `stack list- dependencies`.
59+ -- | Parser for arguments to `stack ls dependencies`.
6060listDepsOptsParser :: Parser ListDepsOpts
6161listDepsOptsParser = ListDepsOpts
6262 <$> dotOptsParser True -- Default for --external is True.
Original file line number Diff line number Diff line change @@ -1964,7 +1964,7 @@ data CompilerPaths = CompilerPaths
19641964 --
19651965 -- Note that this is not necessarily the same version as the one that stack
19661966 -- depends on as a library and which is displayed when running
1967- -- @stack list- dependencies | grep Cabal@ in the stack project.
1967+ -- @stack ls dependencies | grep Cabal@ in the stack project.
19681968 , cpGlobalDB :: ! (Path Abs Dir )
19691969 -- ^ Global package database
19701970 , cpGhcInfo :: ! ByteString
Original file line number Diff line number Diff line change @@ -352,10 +352,6 @@ commandLineHandler currentDir progName isInterpreter = complicatedOptions
352352 " Delete the project stack working directories (.stack-work by default). Shortcut for 'stack clean --full'"
353353 cleanCmd
354354 (cleanOptsParser Purge )
355- addCommand' " list-dependencies"
356- " List the dependencies"
357- (listDependenciesCmd True )
358- listDepsOptsParser
359355 addCommand' " query"
360356 " Query general build information (experimental)"
361357 queryCmd
You can’t perform that action at this time.
0 commit comments