Update docs.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Fri, 30 Aug 2013 08:29:45 +0000 (11:29 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Wed, 4 Sep 2013 14:17:15 +0000 (17:17 +0300)
History.md
README.md

index 5c5fac6..01b19b4 100644 (file)
@@ -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.
index 099e0d7..daa393b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ cleancss [options] <source-file>
 -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