naming
This commit is contained in:
parent
4f6281d4d5
commit
fa30c4d826
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue