Clarify that rounding-precision only applies to px values
authorMár Örlygsson <mar.nospam@anomy.net>
Tue, 26 Aug 2014 15:15:39 +0000 (15:15 +0000)
committerJakub Pawlowicz <jakub.pawlowicz@moneyadviceservice.org.uk>
Wed, 27 Aug 2014 17:32:24 +0000 (18:32 +0100)
README.md
bin/cleancss

index 872aeef..5f9df6f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ cleancss [options] source-file, [source-file, ...]
 --skip-advanced                 Disable advanced optimizations - selector & property merging,
                                 reduction, etc.
 --skip-aggressive-merging       Disable properties merging based on their order
---rounding-precision [value]    Rounding precision, defaults to 2
+--rounding-precision [N]        Rounds pixel values to `N` decimal places, defaults to 2
 -c, --compatibility [ie7|ie8]   Force compatibility mode
 -d, --debug                     Shows debug information (minification time & compression efficiency)
 ```
index c3f2c2a..35e9837 100755 (executable)
@@ -25,7 +25,7 @@ commands
   .option('--skip-rebase', 'Disable URLs rebasing')
   .option('--skip-advanced', 'Disable advanced optimizations - selector & property merging, reduction, etc.')
   .option('--skip-aggressive-merging', 'Disable properties merging based on their order')
-  .option('--rounding-precision [value]', 'Rounding precision, defaults to 2', parseInt)
+  .option('--rounding-precision [n]', 'Rounds pixel values to `N` decimal places, defaults to 2', parseInt)
   .option('-c, --compatibility [ie7|ie8]', 'Force compatibility mode')
   .option('-t, --timeout [seconds]', 'Per connection timeout when fetching remote @imports (defaults to 5 seconds)')
   .option('-d, --debug', 'Shows debug information (minification time & compression efficiency)');