Move `-debug` lower in options.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 5 Sep 2013 10:52:55 +0000 (13:52 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 5 Sep 2013 10:59:18 +0000 (13:59 +0300)
Also, update the help screen.

History.md
README.md
bin/cleancss

index b2a4565..8ec4005 100644 (file)
@@ -6,7 +6,7 @@
 * Fixed issue [#84](https://github.com/GoalSmashers/clean-css/issues/84) - support for `@import` with media queries.
 * Fixed issue [#124](https://github.com/GoalSmashers/clean-css/issues/124) - raise error on broken imports.
 * Fixed issue [#126](https://github.com/GoalSmashers/clean-css/issues/126) - proper CSS expressions handling.
-* Fixed issue [#129](https://github.com/GoalSmashers/clean-css/issues/129) - rebasing imported urls.
+* Fixed issue [#129](https://github.com/GoalSmashers/clean-css/issues/129) - rebasing imported URLs.
 * Fixed issue [#130](https://github.com/GoalSmashers/clean-css/issues/130) - better code modularity.
 * Fixed issue [#135](https://github.com/GoalSmashers/clean-css/issues/135) - require node.js 0.8+.
 * Renamed lib's `debug` option to `benchmark` when doing per-minification benchmarking.
index ff321ab..6a97ccb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -33,14 +33,14 @@ cleancss [options] <source-file>
 
 -h, --help                  Output usage information
 -v, --version               Output the version number
--d, --debug                 Shows debug information (minification time & compression efficiency)
--e, --remove-empty          Remove empty declarations (e.g. a{})
+-e, --remove-empty          Remove empty declarations, e.g. a{}
 -b, --keep-line-breaks      Keep line breaks
---s0                        Remove all special comments (i.e. /*! special comment */)
+--s0                        Remove all special comments, i.e. /*! comment */
 --s1                        Remove all special comments but the first one
 -r, --root [root-path]      A root path to which resolve absolute @import rules and rebase relative URLs
 -o, --output [output-file]  Use [output-file] as output instead of STDOUT
 -s, --skip-import           Disable the @import processing
+-d, --debug                 Shows debug information (minification time & compression efficiency)
 ```
 
 #### Examples:
index e241cd7..4c90358 100755 (executable)
@@ -16,14 +16,14 @@ var isWindows = process.platform == 'win32';
 commands
   .version(buildVersion, '-v, --version')
   .usage('[options] <source-file>')
-  .option('-d, --debug', 'Shows debug information (minification time & compression efficiency)')
-  .option('-e, --remove-empty', 'Remove empty declarations (e.g. a{})')
+  .option('-e, --remove-empty', 'Remove empty declarations, e.g. .a{}')
   .option('-b, --keep-line-breaks', 'Keep line breaks')
-  .option('--s0', 'Remove all special comments (i.e. /*! special comment */)')
+  .option('--s0', 'Remove all special comments, i.e. /*! comment */')
   .option('--s1', 'Remove all special comments but the first one')
   .option('-r, --root [root-path]', 'Set a root path to which resolve absolute @import rules')
-  .option('-o, --output [output-file]', 'Use [output-file] as output instead of stdout')
-  .option('-s, --skip-import', 'Disable the @import processing');
+  .option('-o, --output [output-file]', 'Use [output-file] as output instead of STDOUT')
+  .option('-s, --skip-import', 'Disable the @import processing')
+  .option('-d, --debug', 'Shows debug information (minification time & compression efficiency)');
 
 commands.on('--help', function() {
   util.puts('  Examples:\n');