slitaz-base-files diff doc/libtaz.txt @ rev 167

Add colorize() to libtaz.sh
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 15 15:48:14 2012 +0200 (2012-05-15)
parents 581ddfa0d620
children 4ca3c7426952
line diff
     1.1 --- a/doc/libtaz.txt	Sat May 12 21:08:08 2012 +0100
     1.2 +++ b/doc/libtaz.txt	Tue May 15 15:48:14 2012 +0200
     1.3 @@ -12,14 +12,15 @@
     1.4  	/lib/libtaz.sh since it is used when /usr may not be mounted.
     1.5  
     1.6  FUNCTIONS
     1.7 -	status             Return command status [Done|Failed]
     1.8 -	separator          Display a line separator
     1.9 -	newline            Echo a new line if gettext or echo -n is used
    1.10 -	boldify [string]   Use a bold font for term, html or GTK output
    1.11 -	indent             Indent text in term mode
    1.12 -	check_root         Check if user is logged as root
    1.13 -	confirm            Read answer to confirm an action
    1.14 -	log [string]       Log activity, $activity must be set
    1.15 +	status                Return command status [Done|Failed]
    1.16 +	separator             Display a line separator
    1.17 +	newline               Echo a new line if gettext or echo -n is used
    1.18 +	boldify [string]      Use a bold font for term, html or GTK output
    1.19 +	colorize [string] NB  Colorize a string in term mode
    1.20 +	indent                Indent text in term mode
    1.21 +	check_root            Check if user is logged as root
    1.22 +	confirm               Read answer to confirm an action
    1.23 +	log [string]          Log activity, $activity must be set
    1.24  
    1.25  OPTIONS
    1.26  	--output=[raw|gtk|html]