@@ -19,8 +19,6 @@ act() {
|
||||
return 0
|
||||
}
|
||||
|
||||
urldecode() { : "${*//+/ }"; printf '%b\n' "${_//%/\\x}"; }
|
||||
|
||||
# cfg foo bool = [true|1]
|
||||
# cfg foo [string] = 'bar'
|
||||
# cfg foo
|
||||
@@ -55,7 +53,7 @@ cfg() {
|
||||
esac
|
||||
}
|
||||
|
||||
_s="$2"
|
||||
_s="$*"
|
||||
|
||||
break
|
||||
;;
|
||||
@@ -223,7 +221,6 @@ main() {
|
||||
done
|
||||
|
||||
target=$1; [[ "$target" ]] || { usage; exit 1; }
|
||||
# target=$(urldecode "$target") # No idea why I thought this was necessary.
|
||||
|
||||
cfg dryrun && {
|
||||
printf 'Dry run: not actually running the handler\n' >&2
|
||||
|
||||
Reference in New Issue
Block a user