aboutsummaryrefslogtreecommitdiff
path: root/markdown2pdf
diff options
context:
space:
mode:
Diffstat (limited to 'markdown2pdf')
-rw-r--r--markdown2pdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown2pdf b/markdown2pdf
index 993207d05..0307f73cf 100644
--- a/markdown2pdf
+++ b/markdown2pdf
@@ -25,7 +25,7 @@ ALL="$*"
ARGS=${ALL%% -- *} # only the part before ' -- ' delimiters is relevant
set -- $ARGS
-REST=${ALL#$ARGS}; REST=${REST#--}
+REST=${ALL#$ARGS}; REST=${REST# -- }
PANDOC_OPTS=${REST:-$PANDOC_OPTS}
outfile=