From e1d10c32882c8208fe408ae58b54766af4b93924 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 30 Aug 2013 11:29:45 +0300 Subject: [PATCH] Update docs. --- History.md | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/History.md b/History.md index 5c5fac66..01b19b45 100644 --- a/History.md +++ b/History.md @@ -2,7 +2,7 @@ ================== * Fixed issue [#65](https://github.com/GoalSmashers/clean-css/issues/65) - full color name / hex shortening. -* Fixed issue [#84](https://github.com/GoalSmashers/clean-css/issues/84) - support for @import with media queries. +* 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. diff --git a/README.md b/README.md index 099e0d7e..daa393bb 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ cleancss [options] -b, --keep-line-breaks Keep line breaks --s0 Remove all special comments (i.e. /*! special 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. +-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 ``` @@ -121,12 +121,12 @@ Clean-css will handle it automatically for you (since version 1.1) in the follow * When using the CLI: 1. Use an output path via `-o/--output` to rebase URLs as relative to the output file. - 1. Use a root path via `-r/--root` to rebase URLs as absolute from the given root path. - 1. If you specify both then `-r/--root` takes precendence. + 2. Use a root path via `-r/--root` to rebase URLs as absolute from the given root path. + 3. If you specify both then `-r/--root` takes precendence. * When using clean-css as a library: 1. Use a combination of `relativeTo` and `target` options for relative rebase (same as 1 in CLI). - 1. Use a combination of `relativeTo` and `root` options for absolute rebase (same as 2 in CLI). - 1. `root` takes precendence over `target` as in CLI. + 2. Use a combination of `relativeTo` and `root` options for absolute rebase (same as 2 in CLI). + 3. `root` takes precendence over `target` as in CLI. ## Acknowledgments -- 2.34.1