summaryrefslogtreecommitdiff
path: root/fdc
diff options
context:
space:
mode:
Diffstat (limited to 'fdc')
-rwxr-xr-xfdc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdc b/fdc
index 6cf3942..6d63ba5 100755
--- a/fdc
+++ b/fdc
@@ -11,7 +11,7 @@ printhelp () {
#{{{ getopts
while getopts "hd:u:" o; do case "${o}" in
- d) ARG="$OPTARG" ;;
+ d) ARG=${ARG:+"$ARG "}"$OPTARG" ;;
u) URL="$OPTARG" ;;
*) printhelp ;;
esac done