mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 09:10:15 +01:00
export: Add debug mode
This commit is contained in:
@@ -153,6 +153,10 @@ else
|
|||||||
OPT_ZSEND="-Rv"
|
OPT_ZSEND="-Rv"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
-x)
|
||||||
|
enable_debug
|
||||||
|
shift
|
||||||
|
;;
|
||||||
-*)
|
-*)
|
||||||
error_notify "Unknown Option: \"${1}\""
|
error_notify "Unknown Option: \"${1}\""
|
||||||
usage
|
usage
|
||||||
@@ -160,10 +164,6 @@ else
|
|||||||
*)
|
*)
|
||||||
if echo "${1}" | grep -q "\/"; then
|
if echo "${1}" | grep -q "\/"; then
|
||||||
DIR_EXPORT="${1}"
|
DIR_EXPORT="${1}"
|
||||||
else
|
|
||||||
if [ $# -gt 2 ] || [ $# -lt 1 ]; then
|
|
||||||
usage
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user