Browse Source

add --tarballformat parameter

master
belliash 7 years ago
parent
commit
66c370f87e
2 changed files with 9 additions and 0 deletions
  1. 8
    0
      ezsync
  2. 1
    0
      libraries/common

+ 8
- 0
ezsync View File

@@ -60,6 +60,14 @@ until [[ -z "${1}" ]]; do
-t|--notrigger)
EZOPT_NOTRIGGER=true
;;
-T|--tarballformat)
shift
if [ -z ${1} ]; then
die "--tarballformat requires an additional argument!"
else
TARBALLFORMAT="${1}"
fi
;;
*)
die "Unrecognized option ${1}"
;;

+ 1
- 0
libraries/common View File

@@ -425,6 +425,7 @@ function showEzsyncUsage() {
echo -e " -P\t--purgeonly\tclears temporary folder and exits"
echo -e " -s\t--syscheck\tperforms prerequisites check only"
echo -e " -t\t--notrigger\tdisables all build triggers and modules"
echo -e " -T\t--tarballformat\toverrides default compression algorithm"
echo -e "\nEXAMPLES:"
echo -e " ezsync -c -n mainline"
echo -e " ezsync -n mainline -n my_repo1"

Loading…
Cancel
Save