Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed May 22, 2024
2 parents bec107d + 39d484d commit 81cbf68
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions doc/ls_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,20 @@ stack ls dependencies [--separator SEP] [--[no-]license] [--filter ITEM]
~~~

`stack ls dependencies` lists all of the packages and versions used for a
project. All project packages are considered by default, but a target can be
specified as an argument. For further information, see the
project. All project packages are considered by default, but one or more targets
can be specified as an argument. For further information, see the
[target syntax](build_command.md#target-syntax) documentation.

!!! note

If the first target is one of `cabal`, `json`, `text` and `tree`, then a
subcommand must be specified.

!!! info

If a specified target is not a project package, then it will not contribute
packages to the command's output.

Subcommands specify the format of the output, as follows:

* `cabal` lists the packages in the format of exact Cabal constraints.
Expand Down

0 comments on commit 81cbf68

Please sign in to comment.