[Pkg-javascript-commits] [uglifyjs] 32/77: Document `--` for usage in CLI class
Jonas Smedegaard
dr at jones.dk
Tue May 19 00:02:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v2.4.18
in repository uglifyjs.
commit 285bffd2c6597420c4d3e937fea731a9041b385f
Author: Richard van Velzen <rvanvelzen1 at gmail.com>
Date: Wed Jan 7 19:04:10 2015 +0100
Document `--` for usage in CLI class
Close #518
---
README.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/README.md b/README.md
index a04ac4e..d2ec432 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:
```
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list