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/bin
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-03-30 07:15:01 +0400
committerisaacs <i@izs.me>2011-03-30 09:05:00 +0400
commit63367db33cdfe1bf609fdabcc0a8e9fd917ce569 (patch)
tree9704c5268d75854ecc29b2342fbe39c0c0350bdd /bin
parent9aa65ea183d3d5ce5e8944561fae13e20e978713 (diff)
Rename optparse to nopt
Diffstat (limited to 'bin')
-rwxr-xr-xbin/npm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/npm.js b/bin/npm.js
index 71467a2b6..b50875734 100755
--- a/bin/npm.js
+++ b/bin/npm.js
@@ -15,11 +15,11 @@ var fs = require("../lib/utils/graceful-fs")
, configDefs = require("../lib/utils/config-defs")
, shorthands = configDefs.shorthands
, types = configDefs.types
- , optparse = require("optparse")
+ , nopt = require("nopt")
log.verbose(process.argv, "cli")
-var conf = optparse(types, shorthands)
+var conf = nopt(types, shorthands)
npm.argv = conf.argv.remain
if (npm.deref(npm.argv[0])) npm.command = npm.argv.shift()
else conf.usage = true