From f8d4c36f6d5897d5fefd0a430eadd40139bc18ec Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 15 Jul 2018 18:59:25 -0400 Subject: [PATCH] Add back --wild list.sh help and use -- for long params like --regex Signed-off-by: Mcat12 --- advanced/Scripts/list.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index 97de1604..b7a24ec0 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -32,8 +32,11 @@ helpFunc() { if [[ "${listMain}" == "${whitelist}" ]]; then param="w" type="white" + elif [[ "${listMain}" == "${regexlist}" && "${wildcard}" == true ]]; then + param="-wild" + type="wildcard black" elif [[ "${listMain}" == "${regexlist}" ]]; then - param="wild" + param="-regex" type="regex black" else param="b"