aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Bazon <mihai.bazon@gmail.com>2015-01-07 23:17:08 +0200
committerMihai Bazon <mihai.bazon@gmail.com>2015-01-07 23:17:08 +0200
commit0d232a142288c26376e434c36d6374c615b3ee62 (patch)
tree2c28ac4fe353ddd8ea6bbcf6aa2d701f95d671e2
parent61c233a08ed3768f19f05579888b327eee7286ec (diff)
parent285bffd2c6597420c4d3e937fea731a9041b385f (diff)
downloadtracifyjs-0d232a142288c26376e434c36d6374c615b3ee62.tar.gz
tracifyjs-0d232a142288c26376e434c36d6374c615b3ee62.zip
Merge pull request #606 from rvanvelzen/document-double-dash
Document `--` for usage in CLI class
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index a04ac4e4..d2ec432f 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,11 @@ variable/function declared in another file will be matched properly.
If you want to read from STDIN instead, pass a single dash instead of input
files.
+If you wish to pass your options before the input files, separate the two with
+a double dash to prevent input files being used as option arguments:
+
+ uglifyjs --compress --mangle -- input.js
+
The available options are:
```