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
path: root/man1
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-07-05 09:54:59 +0400
committerisaacs <i@izs.me>2011-07-05 09:54:59 +0400
commit0d8de4474f5d96ab1dbba773cd3b36885d942531 (patch)
tree5c1d8c4f387385ebc0b516fd1f5658817f060db4 /man1
parent749637d03463c39d2d814a0d40771a7c2a87d54e (diff)
Close #1117 Alias 'docs' command to 'home'
Diffstat (limited to 'man1')
-rw-r--r--man1/docs.13
-rw-r--r--man1/home.120
2 files changed, 22 insertions, 1 deletions
diff --git a/man1/docs.1 b/man1/docs.1
index 95a9bcdcd..a13c9d6f9 100644
--- a/man1/docs.1
+++ b/man1/docs.1
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-DOCS" "1" "March 2011" "" ""
+.TH "NPM\-DOCS" "1" "July 2011" "" ""
.
.SH "NAME"
\fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
@@ -10,6 +10,7 @@
.
.nf
npm docs <pkgname>
+npm home <pkgname>
.
.fi
.
diff --git a/man1/home.1 b/man1/home.1
new file mode 100644
index 000000000..a13c9d6f9
--- /dev/null
+++ b/man1/home.1
@@ -0,0 +1,20 @@
+.\" Generated with Ronnjs/v0.1
+.\" http://github.com/kapouer/ronnjs/
+.
+.TH "NPM\-DOCS" "1" "July 2011" "" ""
+.
+.SH "NAME"
+\fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
+.
+.SH "SYNOPSIS"
+.
+.nf
+npm docs <pkgname>
+npm home <pkgname>
+.
+.fi
+.
+.SH "DESCRIPTION"
+This command tries to guess at the likely location of a package\'s
+documentation URL, and then tries to open it using the \fB\-\-browser\fR
+config param\.