Skip to content

Commit

Permalink
Tidy up ls dependencies online documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Aug 7, 2024
1 parent 67b7d70 commit 7698c0e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions doc/commands/ls_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Available commands:
or

~~~text
stack ls dependencies [--separator SEP] [--[no-]license] [--filter ITEM]
stack ls dependencies [--[no-]license] [--separator SEP] [--filter ITEM]
[--[no-]external] [--[no-]include-base] [--depth DEPTH]
[--prune PACKAGES] [TARGET] [--flag PACKAGE:[-]FLAG]
[--test] [--bench] [--global-hints]
Expand Down Expand Up @@ -143,9 +143,10 @@ Subcommands specify the format of the output, as follows:
* `text` (the default) lists the packages, each on a separate line.
~~~text
stack ls dependencies text [--separator SEP] [--[no-]license] [--filter ITEM]
[--[no-]external] [--[no-]include-base]
[--depth DEPTH] [--prune PACKAGES] [TARGET]
stack ls dependencies text [--[no-]license] [--separator SEP]
[--filter ITEM] [--[no-]external]
[--[no-]include-base] [--depth DEPTH]
[--prune PACKAGES] [TARGET]
[--flag PACKAGE:[-]FLAG] [--test] [--bench]
[--global-hints]
~~~
Expand All @@ -161,9 +162,11 @@ Subcommands specify the format of the output, as follows:
* `tree` lists dependencies in the format of a tree.
~~~text
stack ls dependencies tree [--separator SEP] [--[no-]license] [--[no-]external]
[--[no-]include-base] [--depth DEPTH]
[--prune PACKAGES] [TARGET] [--flag PACKAGE:[-]FLAG] [--test] [--bench] [--global-hints]
stack ls dependencies tree [--[no-]license] [--separator SEP]
[--[no-]external] [--[no-]include-base]
[--depth DEPTH] [--prune PACKAGES] [TARGET]
[--flag PACKAGE:[-]FLAG] [--test] [--bench]
[--global-hints]
~~~
For example (extract):
Expand Down

0 comments on commit 7698c0e

Please sign in to comment.