From: Laurent Goderre Date: Fri, 12 Sep 2014 21:37:18 +0000 (-0400) Subject: Added preserveLineBreaks to the CLI help X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5f75cfd20d7414d0251633e1ebdf488e430bde64;p=html-minifier.git Added preserveLineBreaks to the CLI help --- diff --git a/cli.js b/cli.js index 834588d..7213335 100755 --- a/cli.js +++ b/cli.js @@ -58,6 +58,7 @@ var mainOptions = { removeCDATASectionsFromCDATA: [[false, 'Remove CDATA sections from script and style elements']], collapseWhitespace: [[false, 'Collapse white space that contributes to text nodes in a document tree.']], conservativeCollapse: [[false, 'Always collapse to 1 space (never remove it entirely)']], + preserveLineBreaks: [[false, 'Always collapse to 1 line break (never remove it entirely) when whitespace between tags include a line break.']], collapseBooleanAttributes: [[false, 'Omit attribute values from boolean attributes']], removeAttributeQuotes: [[false, 'Remove quotes around attributes when possible.']], removeRedundantAttributes: [[false, 'Remove attributes when value matches default.']],