Added preserveLineBreaks to the CLI help
authorLaurent Goderre <laurent.goderre@gmail.com>
Fri, 12 Sep 2014 21:37:18 +0000 (17:37 -0400)
committerLaurent Goderre <laurent.goderre@gmail.com>
Fri, 12 Sep 2014 21:37:18 +0000 (17:37 -0400)
cli.js

diff --git a/cli.js b/cli.js
index 834588d..7213335 100755 (executable)
--- 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.']],