X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=myunison;h=30ee1cbe3e99b24851849e7e71de8d25bfa37786;hb=15f043c2c297176bd623d8a8602e2dc5d67eacd6;hp=493d79594de5177a87081da5e1c611e2fce55c52;hpb=e1413c8bd07f92ec8e1209db83225b56bc39055d;p=distro-setup diff --git a/myunison b/myunison index 493d795..30ee1cb 100755 --- a/myunison +++ b/myunison @@ -9,13 +9,13 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR # which did not have the whole p subvol. gen_args=() -do_snapshot=true +do_snapshot=false batch=false while [[ $1 ]]; do case $1 in -ob) gen_args+=(--ours -b); batch=true; shift ;; -b) gen_args+=(-b); batch=true; shift ;; - -n) do_snapshot=false; shift ;; + -n) do_snapshot=true; shift ;; -h|--help) echo "$0: help is head of $BASH_SOURCE:" head -n 30 "$BASH_SOURCE"