summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/cli')
-rw-r--r--deps/npm/doc/cli/npm-install.md3
-rw-r--r--deps/npm/doc/cli/npm-version.md4
-rw-r--r--deps/npm/doc/cli/repo.md5
3 files changed, 9 insertions, 3 deletions
diff --git a/deps/npm/doc/cli/npm-install.md b/deps/npm/doc/cli/npm-install.md
index 4cbb1129e3..618ebab0f8 100644
--- a/deps/npm/doc/cli/npm-install.md
+++ b/deps/npm/doc/cli/npm-install.md
@@ -173,6 +173,9 @@ local space in some cases.
The `--no-bin-links` argument will prevent npm from creating symlinks for
any binaries the package might contain.
+The `--no-optional` argument will prevent optional dependencies from
+being installed.
+
The `--no-shrinkwrap` argument, which will ignore an available
shrinkwrap file and use the package.json instead.
diff --git a/deps/npm/doc/cli/npm-version.md b/deps/npm/doc/cli/npm-version.md
index 18aaf74700..870bd49215 100644
--- a/deps/npm/doc/cli/npm-version.md
+++ b/deps/npm/doc/cli/npm-version.md
@@ -3,7 +3,7 @@ npm-version(1) -- Bump a package version
## SYNOPSIS
- npm version [<newversion> | major | minor | patch | build]
+ npm version [<newversion> | major | minor | patch]
## DESCRIPTION
@@ -11,7 +11,7 @@ Run this in a package directory to bump the version and write the new
data back to the package.json file.
The `newversion` argument should be a valid semver string, *or* a valid
-second argument to semver.inc (one of "build", "patch", "minor", or
+second argument to semver.inc (one of "patch", "minor", or
"major"). In the second case, the existing version will be incremented
by 1 in the specified field.
diff --git a/deps/npm/doc/cli/repo.md b/deps/npm/doc/cli/repo.md
index 5c281c28e1..12085c1015 100644
--- a/deps/npm/doc/cli/repo.md
+++ b/deps/npm/doc/cli/repo.md
@@ -4,12 +4,15 @@ npm-repo(1) -- Open package repository page in the browser
## SYNOPSIS
npm repo <pkgname>
+ npm repo (with no args in a package dir)
## DESCRIPTION
This command tries to guess at the likely location of a package's
repository URL, and then tries to open it using the `--browser`
-config param.
+config param. If no package name is provided, it will search for
+a `package.json` in the current folder and try to use the property
+of the name field.
## CONFIGURATION