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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commands/cache.js')
-rw-r--r--lib/commands/cache.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/commands/cache.js b/lib/commands/cache.js
index 862f346ad..bc52889c0 100644
--- a/lib/commands/cache.js
+++ b/lib/commands/cache.js
@@ -68,11 +68,7 @@ class Cache extends BaseCommand {
static name = 'cache'
static params = ['cache']
static usage = [
- 'add <tarball file>',
- 'add <folder>',
- 'add <tarball url>',
- 'add <git url>',
- 'add <name>@<version>',
+ 'add <package-spec>',
'clean [<key>]',
'ls [<name>@<version>]',
'verify',