Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-13 01:53:21 +0400
committerisaacs <i@izs.me>2010-05-13 01:53:21 +0400
commite4072e569d1c30bf61d0dfbf5ed5b7834de2a604 (patch)
tree6257540f2c572efd406f717864ad2ad493043a0c /man/list.1
parente50773f63f9983ea004ba4f5a4449e2def83cc9c (diff)
Documentation for ls command enhancement
Diffstat (limited to 'man/list.1')
-rw-r--r--man/list.124
1 files changed, 15 insertions, 9 deletions
diff --git a/man/list.1 b/man/list.1
index a003e979e..067ded05d 100644
--- a/man/list.1
+++ b/man/list.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.4.1
.\" http://github.com/rtomayko/ronn/
.
-.TH "NPM\-LIST" "1" "April 2010" "" ""
+.TH "NPM\-LIST" "1" "May 2010" "" ""
.
.SH "NAME"
\fBnpm\-list\fR \-\- List installed packages
@@ -9,18 +9,24 @@
.SH "SYNOPSIS"
.
.nf
-npm list [package]
-npm ls [package]
+npm list
+npm ls
.
.fi
.
.SH "DESCRIPTION"
-This will show the installed (and, potentially, activated) versions of all the
-packages that npm has installed, or just the \fBpackage\fR if specified.
+This command will print to stdout all the versions of packages that are
+either installed or available in the registry, with their tags and whether
+or not they're active and/or stable.
.
.P
-This is also aliased to \fBls\fR.
+To filter a single package or state, pipe this command through grep.
.
-.P
-\fBFIXME\fR: Prints to stderr, but should really be stdout, since the log is what
-you're after.
+.IP "" 4
+.
+.nf
+npm ls | grep @stable
+.
+.fi
+.
+.IP "" 0