From 3dd328dce35ff92e43d1549bc13f36302bc01d75 Mon Sep 17 00:00:00 2001 From: kzc Date: Mon, 8 May 2017 11:06:56 -0400 Subject: [PATCH] [3.x] fix documentation for beautify options (#1882) - use underscores rather than dashes. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d2343728..a665c06d 100644 --- a/README.md +++ b/README.md @@ -490,21 +490,21 @@ can pass additional arguments that control the code output: Passing `-b` will set this to true, but you might need to pass `-b` even when you want to generate minified code, in order to specify additional arguments, so you can use `-b beautify=false` to override it. -- `indent-level` (default 4) -- `indent-start` (default 0) -- prefix all lines by that many spaces -- `quote-keys` (default `false`) -- pass `true` to quote all keys in literal +- `indent_level` (default 4) +- `indent_start` (default 0) -- prefix all lines by that many spaces +- `quote_keys` (default `false`) -- pass `true` to quote all keys in literal objects -- `space-colon` (default `true`) -- insert a space after the colon signs -- `ascii-only` (default `false`) -- escape Unicode characters in strings and +- `space_colon` (default `true`) -- insert a space after the colon signs +- `ascii_only` (default `false`) -- escape Unicode characters in strings and regexps (affects directives with non-ascii characters becoming invalid) -- `inline-script` (default `false`) -- escape the slash in occurrences of +- `inline_script` (default `false`) -- escape the slash in occurrences of `