add new parameter

This commit is contained in:
belliash 2012-01-09 13:02:53 +01:00
parent 0b7fe4f5d2
commit 8cc5c8ae14
1 changed files with 8 additions and 0 deletions

8
ezsync
View File

@ -25,6 +25,14 @@ until [[ -z "${1}" ]]; do
-h|--help)
showEzsyncUsage
;;
-n|--nosync)
shift
if [ -z ${1} ]; then
die "--nosync requires an additional argument!"
else
EZNOSYNC=${EZNOSYNC+"$EZNOSYNC "}"${1}"
fi
;;
-p|--purge)
EZOPT_PURGETMP=true
;;