Dont clear screen if showing help menu

This commit is contained in:
Alicia Sykes 2022-10-22 16:47:52 +01:00
parent 31cb825d84
commit 6a551900f5

View File

@ -41,7 +41,7 @@ GREEN='\033[0;32m'
PURPLE='\033[0;35m'
# Clear the screen
if [[ ! $PARAMS == *"--no-clear"* ]]; then
if [[ ! $PARAMS == *"--no-clear"* ]] && [[ ! $PARAMS == *"--help"* ]] ; then
clear
fi