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:
authorisaacs <i@izs.me>2013-07-24 07:29:23 +0400
committerisaacs <i@izs.me>2013-07-24 07:29:23 +0400
commit57ec07ac9f7107c3796484cb163d3a0a0635c084 (patch)
treedf4e639ff250a05168e1496732a066031968967a /node_modules/semver/README.md
parent4309cdc7bf73dad895afbebcb0a7762f18c16e4c (diff)
semver@2.0.11
Diffstat (limited to 'node_modules/semver/README.md')
-rw-r--r--node_modules/semver/README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/node_modules/semver/README.md b/node_modules/semver/README.md
index a315fe888..2c499a984 100644
--- a/node_modules/semver/README.md
+++ b/node_modules/semver/README.md
@@ -16,11 +16,12 @@ As a command-line utility:
$ semver -h
- Usage: semver -v <version> [-r <range>]
- Test if version(s) satisfy the supplied range(s),
- and sort them.
+ Usage: semver <version> [<version> [...]] [-r <range> | -i <inc> | -d <dec>]
+ Test if version(s) satisfy the supplied range(s), and sort them.
- Multiple versions or ranges may be supplied.
+ Multiple versions or ranges may be supplied, unless increment
+ or decrement options are specified. In that case, only a single
+ version may be used, and it is incremented by the specified level
Program exits successfully if any valid version satisfies
all supplied ranges, and prints all satisfying versions.
@@ -79,7 +80,7 @@ strings that they parse.
* valid(v): Return the parsed version, or null if it's not valid.
* inc(v, release): Return the version incremented by the release type
- (major, minor, patch, or build), or null if it's not valid.
+ (major, minor, patch, or prerelease), or null if it's not valid.
### Comparison