From bacf080d092c7ed69394965c92149099391a2b6a Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Sat, 31 Dec 2016 16:36:46 +0000 Subject: [PATCH] fix: add usage for preserve comments And remove the `-c` shortcut as it'll be a lesser used option --- cli/options.js | 1 - docs/usage.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/options.js b/cli/options.js index fed0994..e10ae1e 100644 --- a/cli/options.js +++ b/cli/options.js @@ -33,7 +33,6 @@ function options(args) { o: 'videos', m: 'inlinemin', H: 'header', - c: 'preserve-comments', }, }); diff --git a/docs/usage.txt b/docs/usage.txt index 42eed4b..b8ffa8d 100644 --- a/docs/usage.txt +++ b/docs/usage.txt @@ -13,6 +13,7 @@ --videos encode videos (and their poster image) - disabled by default --nosvg don't compress SVG (through SVGO) --skip-absolute-urls don't inline links with absolute URLs + --preserve-comments keeps HTML comments -V, --version output the version number -h, --help output usage information