This commit is contained in:
Lukas Wurzinger 2025-01-05 15:24:37 +01:00
parent 4f6281d4d5
commit fa30c4d826
No known key found for this signature in database

View file

@ -21,7 +21,7 @@ if [[ ! -v PLOW_CACHE ]]; then
PLOW_CACHE=.plowcache PLOW_CACHE=.plowcache
fi fi
opts=$( args=$(
getopt \ getopt \
--options f:t:Fivm: \ --options f:t:Fivm: \
--longoptions from:,to:,force,interactive,verbose,directory-mode: \ --longoptions from:,to:,force,interactive,verbose,directory-mode: \
@ -29,7 +29,7 @@ opts=$(
-- "$@" -- "$@"
) )
eval set -- "$opts" eval set -- "$args"
from=${PLOW_FROM:-$PWD} from=${PLOW_FROM:-$PWD}
to=${PLOW_TO:-$HOME} to=${PLOW_TO:-$HOME}