# HG changeset patch # User paulo@localhost # Date 1333004770 25200 # Node ID ddc56395ee8bfe7f4383b7c6c895b838749d80cd # Parent d516b77d4916a78f1c75c4cbc7ced4a88208de68 update index.* documentation with usage text diff -r d516b77d4916 -r ddc56395ee8b index.html --- a/index.html Mon Dec 13 23:46:01 2010 -0800 +++ b/index.html Thu Mar 29 00:06:10 2012 -0700 @@ -10,7 +10,7 @@
@@ -23,8 +23,29 @@

Download the latest source code from here.

+ +
+Usage: rcg [options] <PATTERN> 
+
+Options: 
+  -l, --line           Highlight whole line 
+  -B, --bold           Bold 
+  -b <color>           Background color 
+  -f <color>           Foreground color 
+
+<color> can be one of the following: 
+  black 
+  red 
+  green 
+  brown 
+  blue 
+  magenta 
+  cyan 
+  white 
+  default 
+
+
- diff -r d516b77d4916 -r ddc56395ee8b index.t2t --- a/index.t2t Mon Dec 13 23:46:01 2010 -0800 +++ b/index.t2t Thu Mar 29 00:06:10 2012 -0700 @@ -1,6 +1,6 @@ rcg: regex colored grep Paulo Ang (pbba13@gmail.com) -2010-12-13 +2012-03-29 //rcg// stands for //regex colored grep// and makes it easy to colorify your xterm-compatible terminal output. @@ -8,3 +8,24 @@ The inspiration came from hack #75 from //Linux Server Hacks// by Rob Flickenger (O'Reilly). My version is written in C. Download the latest source code from [here /hg/rcg/rcg-1/rcg.c]. + +``` +Usage: rcg [options] + +Options: + -l, --line Highlight whole line + -B, --bold Bold + -b Background color + -f Foreground color + + can be one of the following: + black + red + green + brown + blue + magenta + cyan + white + default +```