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