From: Már Örlygsson Date: Tue, 26 Aug 2014 15:15:39 +0000 (+0000) Subject: Clarify that rounding-precision only applies to px values X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d40d17c92b43ecdf01372ec042dac3911a9de40e;p=clean-css.git Clarify that rounding-precision only applies to px values --- diff --git a/README.md b/README.md index 872aeefc..5f9df6f1 100644 --- 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) ``` diff --git a/bin/cleancss b/bin/cleancss index c3f2c2ab..35e9837a 100755 --- a/bin/cleancss +++ b/bin/cleancss @@ -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)');