Skip to content

Commit fb419d0

Browse files
vallodezkochan
andauthored
docs: Reflect all licenses options in docs (#686)
* Reflect all licenses options in docs * Update licenses.md --------- Co-authored-by: Zoltan Kochan <[email protected]>
1 parent 20a271b commit fb419d0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/cli/licenses.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,32 @@ title: pnpm licenses
77

88
### list
99

10+
Aliases: `ls`
11+
1012
List licenses for installed packages.
1113

1214
## Options
1315

16+
### --dev, -D
17+
18+
Check only "devDependencies".
19+
20+
### --json
21+
22+
Show information in JSON format.
23+
24+
### --long
25+
26+
Show more details (such as a link to the repo) are not displayed. To display the details, pass this option.
27+
28+
### --no-optional
29+
30+
Don't check packages from `optionalDependencies`.
31+
32+
### --prod, -P
33+
34+
Check only `dependencies` and `optionalDependencies`.
35+
1436
### --filter &lt;package_selector\>
1537

1638
[Read more about filtering.](../filtering.md)

0 commit comments

Comments
 (0)