fix: edit file logs
This commit is contained in:
parent
3c08cb939b
commit
279164f734
|
@ -136,7 +136,7 @@ author__check || exit 0 # Check if authors registresd
|
|||
case "$1" in
|
||||
db) db__OPTIONS "$2" ;;
|
||||
sync|-s) sync__OPTIONS "$2" ;;
|
||||
edit|-E) edit__file_OPTIONS "$2" "$3" ;;
|
||||
edit|-E) edit__file_OPTIONS "$2" "$3" ;;
|
||||
esac
|
||||
|
||||
if__gsl_post # from gsl__post_manager: check if .gsl
|
||||
|
@ -147,7 +147,6 @@ case "$1" in
|
|||
www) srv__OPTIONS "$1" "$2" "$3" ;;
|
||||
wip) srv__OPTIONS "$1" "$2" "$3" ;;
|
||||
stats) stats__datas;exit ;;
|
||||
*) gsl help; exit ;;
|
||||
esac
|
||||
|
||||
#======================================================================
|
||||
|
|
|
@ -52,7 +52,7 @@ else
|
|||
gsl_log_level="-i"
|
||||
fi
|
||||
|
||||
gsl__logs_print "$gsl_log_level" -f -e \
|
||||
gsl__logs_print "$gsl_log_level" -e -f \
|
||||
"$gsl_log_infos" \
|
||||
"$gsl_this_post"
|
||||
|
||||
|
|
|
@ -100,9 +100,10 @@ case "$2" in
|
|||
-c) log_f2="Content" ;;
|
||||
-g) log_f2="GSL" ;;
|
||||
-B) log_f2="Starting" ;;
|
||||
-e) log_f2="Edit" ;;
|
||||
-E) log_f2="Stopping" ;;
|
||||
-A) log_f2="Article" ;;
|
||||
-srv) log_f2="Server" ;;
|
||||
-srv) log_f2="Server" ;;
|
||||
-st) log_f2="Stats" ;;
|
||||
-R) log_f2="Removed" ;;
|
||||
-D) log_f2="Database" ;;
|
||||
|
@ -113,7 +114,6 @@ esac
|
|||
case "$3" in
|
||||
-c) log_f3="Created" ;;
|
||||
-f) log_f3="file" ;;
|
||||
-e) log_f3="Edit" ;;
|
||||
-h) log_f3="Hash" ;;
|
||||
-C) log_f3="Check" ;;
|
||||
-M) log_f3="Make" ;;
|
||||
|
|
Loading…
Reference in New Issue