Added manual configuration through command line, finished function headers comments

This commit is contained in:
levasseur
2021-09-06 15:21:12 +02:00
parent 66daa05175
commit 9057325412
7 changed files with 84 additions and 23 deletions

View File

@@ -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