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/doc
diff options
context:
space:
mode:
authorHal Henke <halhenke@gmail.com>2016-01-14 19:09:09 +0300
committerRebecca Turner <me@re-becca.org>2016-01-21 04:08:40 +0300
commitb463e3424b296cfc4bd384fc8bfe0e2329649164 (patch)
tree7fa46db5c115516d715ded9de2ba92442be41813 /doc
parent69ac9333506752bf2e5af70b3b3e03c6181de3e7 (diff)
doc: advise use of `--depth Infinity` instead of `--depth 9999`
PR-URL: https://github.com/npm/npm/pull/11150 Credit: @halhenke Reviewed-By: @othiym23
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-update.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli/npm-update.md b/doc/cli/npm-update.md
index 72719670d..f79752fae 100644
--- a/doc/cli/npm-update.md
+++ b/doc/cli/npm-update.md
@@ -22,7 +22,7 @@ or local) will be updated.
As of `npm@2.6.1`, the `npm update` will only inspect top-level packages.
Prior versions of `npm` would also recursively inspect all dependencies.
-To get the old behavior, use `npm --depth 9999 update`, but be warned that
+To get the old behavior, use `npm --depth Infinity update`, but be warned that
simultaneous asynchronous update of all packages, including `npm` itself
and packages that `npm` depends on, often causes problems up to and including
the uninstallation of `npm` itself.