added shell option

This commit is contained in:
levasseur
2021-09-20 16:42:52 +02:00
parent d5dfcac57b
commit 2de98f91e8
3 changed files with 25 additions and 4 deletions

View File

@@ -68,6 +68,9 @@ read_commandline()
"-f"|"--file")
local want_conffile=true
;;
"-s"|"--shell")
export RUN_SHELL=true
;;
*)
if [[ $want_module == true ]]; then
[[ $want_logfile == true ]] && synthax_error