summaryrefslogtreecommitdiff
path: root/dmenu_books
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu_books')
-rwxr-xr-xdmenu_books2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu_books b/dmenu_books
index a579476..645ece8 100755
--- a/dmenu_books
+++ b/dmenu_books
@@ -5,7 +5,7 @@ printhelp () {
}
while getopts "hd:" o; do case "${o}" in
- d) ARG="$OPTARG" ;;
+ d) ARG=${ARG:+"$ARG "}"$OPTARG" ;;
*) printhelp ;;
esac done