diff options
author | isaacs <i@izs.me> | 2010-05-10 11:59:26 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-10 11:59:26 +0400 |
commit | cf10287c3725b227e3322cfe76682cb4c6854124 (patch) | |
tree | bc2b77b281841fa7609ec4501144f504eeb5f86e | |
parent | b9c096fa99f1bf13a6791e05cffb03d71a6924a4 (diff) |
update "is local" test to reflect code
-rw-r--r-- | doc/install.md | 3 | ||||
-rw-r--r-- | man/install.1 | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/install.md b/doc/install.md index 657334ebb..85596cc60 100644 --- a/doc/install.md +++ b/doc/install.md @@ -5,6 +5,7 @@ npm-install(1) -- install a package npm install <tarball file> npm install <tarball url> + npm install <folder> npm install <pkg> npm install <pkg>@<tag> npm install <pkg>@<version> @@ -21,7 +22,7 @@ resolves circular dependencies by talking to the npm registry. using `npm link`. In order to distinguish between this and remote installs, the argument - must start with either "file:", ".", or "/" + must either be "." or contain a "/" in it. Example: diff --git a/man/install.1 b/man/install.1 index 494f330a1..71a279683 100644 --- a/man/install.1 +++ b/man/install.1 @@ -11,6 +11,7 @@ .nf npm install <tarball file> npm install <tarball url> +npm install <folder> npm install <pkg> npm install <pkg>@<tag> npm install <pkg>@<version> @@ -30,7 +31,7 @@ using \fBnpm link\fR. . .IP In order to distinguish between this and remote installs, the argument -must start with either "file:", ".", or "/" +must either be "." or contain a "/" in it. . .P Example: |