Added manual configuration through command line, finished function headers comments
This commit is contained in:
@@ -86,9 +86,9 @@ export On_IWhite='\e[0;107m'
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Affiche le status avec en-tête coloré et timestamp
|
||||
# (valeur de $1 : I=info, W=warning, E=error, m=des espaces (allignement)
|
||||
# pas d'entête si autre)
|
||||
# Display status with color and timestamp
|
||||
# ($1 accepted values: I=info, W=warning, E=error, m=des espaces (allignement)
|
||||
# no header if anything else)
|
||||
prnt() {
|
||||
case $1 in
|
||||
"I")
|
||||
@@ -111,3 +111,5 @@ prnt() {
|
||||
echo -e "${IWhite}$(date $DATEFORMAT)${DEFAULTFG} ${HEADS} $@"
|
||||
}
|
||||
export -f prnt
|
||||
|
||||
# EOF
|
||||
|
||||
Reference in New Issue
Block a user