From c570a961b115b93d6656e868a756a02d11eb8bc5 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 5 Dec 2017 14:06:52 +0100 Subject: [PATCH] less weird rewriting example in command line help --- lib/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/run.js b/lib/run.js index 6b6a197..c9261d6 100644 --- a/lib/run.js +++ b/lib/run.js @@ -29,7 +29,7 @@ var doc = [ ' -j --json Tell jsfmt that the file being parsed is json', ' -a --ast Tell jsfmt that the file being parsed is in JSON AST', ' --save-ast Output the resulting js in JSON AST format', - ' -r=PATTERN --rewrite PATTERN Rewrite rule (e.g., \'a.slice(b, len(a) -> a.slice(b)\')', + ' -r=PATTERN --rewrite PATTERN Rewrite rule (e.g., \'a.slice(b, len(a)) -> a.slice(b)\')', ' -s=PATTERN --search PATTERN Search rule (e.g., \'a.slice\')', ].join("\r\n");