From fa30c4d8269312de36a6d774314bd8cc7edba06e Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 5 Jan 2025 15:24:37 +0100 Subject: [PATCH] naming --- plow/plow.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plow/plow.bash b/plow/plow.bash index 37d3210..e408b2f 100755 --- a/plow/plow.bash +++ b/plow/plow.bash @@ -21,7 +21,7 @@ if [[ ! -v PLOW_CACHE ]]; then PLOW_CACHE=.plowcache fi -opts=$( +args=$( getopt \ --options f:t:Fivm: \ --longoptions from:,to:,force,interactive,verbose,directory-mode: \ @@ -29,7 +29,7 @@ opts=$( -- "$@" ) -eval set -- "$opts" +eval set -- "$args" from=${PLOW_FROM:-$PWD} to=${PLOW_TO:-$HOME}