From da295de82bfa9e1df39f45ee54e8e11ecce5dfb2 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 8 May 2017 06:23:01 +0800 Subject: support dumping AST (#1879) Re-order `AST_Binary` properties to make dump more readable. closes #769 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3ad072cf..d2343728 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,9 @@ The available options are: `wrap_iife` Wrap IIFEs in parenthesis. Note: you may want to disable `negate_iife` under compressor options. - -o, --output Output file (default STDOUT). Specify "spidermonkey" - to dump SpiderMonkey AST format (as JSON) to STDOUT. + -o, --output Output file path (default STDOUT). Specify `ast` or + `spidermonkey` to write UglifyJS or SpiderMonkey AST + as JSON to STDOUT respectively. --comments [filter] Preserve copyright comments in the output. By default this works like Google Closure, keeping JSDoc-style comments that contain "@license" or -- cgit v1.2.3