diff options
author | Kenneth Powers <ken@kenpowers.net> | 2015-01-01 01:04:54 -0500 |
---|---|---|
committer | Kenneth Powers <ken@kenpowers.net> | 2015-01-01 01:04:54 -0500 |
commit | 6d1c3e1aec62021c475c51f21fd553b83147218c (patch) | |
tree | c2267379274256efe642fd49db2d3db050bac829 /bin | |
parent | 73cc0505f5d41fe4b24d5693e547de9478737187 (diff) | |
download | tracifyjs-6d1c3e1aec62021c475c51f21fd553b83147218c.tar.gz tracifyjs-6d1c3e1aec62021c475c51f21fd553b83147218c.zip |
Use yargs instead of optimist.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/uglifyjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs index fc33f96f..bade20cc 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -5,12 +5,12 @@ var UglifyJS = require("../tools/node"); var sys = require("util"); -var optimist = require("optimist"); +var yargs = require("yargs"); var fs = require("fs"); var path = require("path"); var async = require("async"); var acorn; -var ARGS = optimist +var ARGS = yargs .usage("$0 input1.js [input2.js ...] [options]\n\ Use a single dash to read input from the standard input.\ \n\n\ @@ -129,7 +129,7 @@ if (ARGS.ast_help) { } if (ARGS.h || ARGS.help) { - sys.puts(optimist.help()); + sys.puts(yargs.help()); process.exit(0); } |