Mercurial > hg > index.fcgi > rcg > rcg-1
changeset 19:ddc56395ee8b
update index.* documentation with usage text
author | paulo@localhost |
---|---|
date | Thu, 29 Mar 2012 00:06:10 -0700 |
parents | d516b77d4916 |
children | dfafe7582bd6 |
files | index.html index.t2t |
diffstat | 2 files changed, 45 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/index.html Mon Dec 13 23:46:01 2010 -0800 1.2 +++ b/index.html Thu Mar 29 00:06:10 2012 -0700 1.3 @@ -10,7 +10,7 @@ 1.4 <DIV CLASS="header" ID="header"> 1.5 <H1>rcg: regex colored grep</H1> 1.6 <H2>Paulo Ang (pbba13@gmail.com)</H2> 1.7 -<H3>2010-12-13</H3> 1.8 +<H3>2012-03-29</H3> 1.9 </DIV> 1.10 1.11 <DIV CLASS="body" ID="body"> 1.12 @@ -23,8 +23,29 @@ 1.13 <P> 1.14 Download the latest source code from <A HREF="/hg/rcg/rcg-1/rcg.c">here</A>. 1.15 </P> 1.16 + 1.17 +<PRE> 1.18 +Usage: rcg [options] <PATTERN> 1.19 + 1.20 +Options: 1.21 + -l, --line Highlight whole line 1.22 + -B, --bold Bold 1.23 + -b <color> Background color 1.24 + -f <color> Foreground color 1.25 + 1.26 +<color> can be one of the following: 1.27 + black 1.28 + red 1.29 + green 1.30 + brown 1.31 + blue 1.32 + magenta 1.33 + cyan 1.34 + white 1.35 + default 1.36 +</PRE> 1.37 + 1.38 </DIV> 1.39 - 1.40 <!-- html code generated by txt2tags 2.6 (http://txt2tags.org) --> 1.41 <!-- cmdline: txt2tags -t html -\-css-sugar -\-style=index.css index.t2t --> 1.42 </BODY></HTML>
2.1 --- a/index.t2t Mon Dec 13 23:46:01 2010 -0800 2.2 +++ b/index.t2t Thu Mar 29 00:06:10 2012 -0700 2.3 @@ -1,6 +1,6 @@ 2.4 rcg: regex colored grep 2.5 Paulo Ang (pbba13@gmail.com) 2.6 -2010-12-13 2.7 +2012-03-29 2.8 2.9 2.10 //rcg// stands for //regex colored grep// and makes it easy to colorify your xterm-compatible terminal output. 2.11 @@ -8,3 +8,24 @@ 2.12 The inspiration came from hack #75 from //Linux Server Hacks// by Rob Flickenger (O'Reilly). My version is written in C. 2.13 2.14 Download the latest source code from [here /hg/rcg/rcg-1/rcg.c]. 2.15 + 2.16 +``` 2.17 +Usage: rcg [options] <PATTERN> 2.18 + 2.19 +Options: 2.20 + -l, --line Highlight whole line 2.21 + -B, --bold Bold 2.22 + -b <color> Background color 2.23 + -f <color> Foreground color 2.24 + 2.25 +<color> can be one of the following: 2.26 + black 2.27 + red 2.28 + green 2.29 + brown 2.30 + blue 2.31 + magenta 2.32 + cyan 2.33 + white 2.34 + default 2.35 +```