From 66a89986690e091172107ea604b38b6a1e7031e1 Mon Sep 17 00:00:00 2001 From: Elian Loraux <elian.loraux@tetras-libre.fr> Date: Tue, 18 Mar 2025 16:29:20 +0100 Subject: [PATCH] update help --- doli | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doli b/doli index abcd8de..ec811c9 100755 --- a/doli +++ b/doli @@ -25,7 +25,7 @@ usage() { echo -e "Usage $0 <command> [args]\n" echo -e "COMMANDS\n" echo "bash" - echo -e "\topens a bash terminal in front container or just run bash" + echo -e "\t opens a bash terminal in front container or just run bash" echo "down" echo -e "\t stops the docker stack" echo "help" @@ -33,23 +33,25 @@ usage() { echo "logs" echo -e "\t Follow all usefull logs" echo "mysql" - echo -e "\topen a mysql prompt in LNB database" + echo -e "\t pen a mysql prompt in LNB database" echo "mysql_dump" - echo -e "\tcreates a database dump" + echo -e "\t creates a database dump" echo "mysql_init" - echo -e "\tpopulate LabNbook database (Docker only)" + echo -e "\t populate LabNbook database (Docker only)" echo "mysql_restore" - echo -e "\trestores database from a dump" + echo -e "\t restores database from a dump" echo "perms" - echo -e "\tsets default files permissions" + echo -e "\t sets default files permissions" echo "restart" echo -e "\t restart the docker stack or apache2" echo "shell" - echo -e "\trun a php shell, same as $0 artisan tinker" + echo -e "\t run a php shell, same as $0 artisan tinker" echo "up" echo -e "\t starts the docker stack" echo "tags" echo -e "\t generate ctags" + echo "fail2ban" + echo -e "\t root only - put fail2ban jail and filter in good directory with good log path" } if [ "$(is_docker)" -eq 1 ]; then -- GitLab