diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index ccd944b..503f0d1 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -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 #====================================================================== diff --git a/var/lib/gsl/scripts/gsl__edit_file b/var/lib/gsl/scripts/gsl__edit_file index 2118960..5bb5a0e 100644 --- a/var/lib/gsl/scripts/gsl__edit_file +++ b/var/lib/gsl/scripts/gsl__edit_file @@ -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" diff --git a/var/lib/gsl/scripts/gsl__log_manager b/var/lib/gsl/scripts/gsl__log_manager index 7074b6e..2bf9507 100644 --- a/var/lib/gsl/scripts/gsl__log_manager +++ b/var/lib/gsl/scripts/gsl__log_manager @@ -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" ;;