From 34a0582075a2bd31da156648e350068681dcbcc8 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:57:20 -0700 Subject: [PATCH] export: Add debug mode --- usr/local/share/bastille/export.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/share/bastille/export.sh b/usr/local/share/bastille/export.sh index 57bd86a6..278cc0e9 100644 --- a/usr/local/share/bastille/export.sh +++ b/usr/local/share/bastille/export.sh @@ -153,6 +153,10 @@ else OPT_ZSEND="-Rv" shift ;; + -x) + enable_debug + shift + ;; -*) error_notify "Unknown Option: \"${1}\"" usage @@ -160,10 +164,6 @@ else *) if echo "${1}" | grep -q "\/"; then DIR_EXPORT="${1}" - else - if [ $# -gt 2 ] || [ $# -lt 1 ]; then - usage - fi fi shift ;;