Skip to content

Commit

Permalink
Merge pull request mishoo#606 from rvanvelzen/document-double-dash
Browse files Browse the repository at this point in the history
Document `--` for usage in CLI class
  • Loading branch information
mishoo committed Jan 7, 2015
2 parents 61c233a + 285bffd commit 0d232a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand Down

0 comments on commit 0d232a1

Please sign in to comment.