From b463e3424b296cfc4bd384fc8bfe0e2329649164 Mon Sep 17 00:00:00 2001 From: Hal Henke Date: Fri, 15 Jan 2016 03:09:09 +1100 Subject: doc: advise use of `--depth Infinity` instead of `--depth 9999` PR-URL: https://github.com/npm/npm/pull/11150 Credit: @halhenke Reviewed-By: @othiym23 --- doc/cli/npm-update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3