summaryrefslogtreecommitdiff
path: root/mbc
diff options
context:
space:
mode:
Diffstat (limited to 'mbc')
-rwxr-xr-xmbc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbc b/mbc
index 56fc92b..0ab9db9 100755
--- a/mbc
+++ b/mbc
@@ -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