diff options
author | isaacs <i@izs.me> | 2018-12-11 01:51:38 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-12-11 01:51:38 +0300 |
commit | 02c837e01a71a26f37cbd5a09be89df8a9ce01da (patch) | |
tree | 8d4f53868dfa264fbfa649c54f8b369ece00b542 /doc | |
parent | 890a74458dd4a55e2d85f3eba9dbf125affa4206 (diff) |
dist-tag: make 'ls' the default action (#106)
I keep typing `npm dist-tags` expecting it to print out a list of
dist-tags and instead it yells at me and that feels very un-npm-y.
PR-URL: https://github.com/npm/cli/pull/106
Credit: @isaacs
Reviewed-By: @zkat
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-dist-tag.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/cli/npm-dist-tag.md b/doc/cli/npm-dist-tag.md index 1a69d1b6c..7de3c828f 100644 --- a/doc/cli/npm-dist-tag.md +++ b/doc/cli/npm-dist-tag.md @@ -26,6 +26,8 @@ Add, remove, and enumerate distribution tags on a package: Show all of the dist-tags for a package, defaulting to the package in the current prefix. + This is the default action if none is specified. + A tag can be used when installing packages as a reference to a version instead of using a specific version number: |