add new parameter
This commit is contained in:
parent
0b7fe4f5d2
commit
8cc5c8ae14
8
ezsync
8
ezsync
|
@ -25,6 +25,14 @@ until [[ -z "${1}" ]]; do
|
||||||
-h|--help)
|
-h|--help)
|
||||||
showEzsyncUsage
|
showEzsyncUsage
|
||||||
;;
|
;;
|
||||||
|
-n|--nosync)
|
||||||
|
shift
|
||||||
|
if [ -z ${1} ]; then
|
||||||
|
die "--nosync requires an additional argument!"
|
||||||
|
else
|
||||||
|
EZNOSYNC=${EZNOSYNC+"$EZNOSYNC "}"${1}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
-p|--purge)
|
-p|--purge)
|
||||||
EZOPT_PURGETMP=true
|
EZOPT_PURGETMP=true
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue