summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-09-25 15:50:54 +0100
committerRobin Watts <robin.watts@artifex.com>2015-09-28 13:28:45 +0100
commit9464a1659500d259bc52706f728059d63ea1583e (patch)
tree0f803acaff1e341787f03c64b6d39e11cdb38bea
parent825ea24206936d37681921a624a25be8628b05a9 (diff)
downloadmupdf-9464a1659500d259bc52706f728059d63ea1583e.tar.xz
Fix -p option to mutool draw.
We were missing a : in the getopt string after the 'p' meaning that any password supplied was treated as a filename.
-rw-r--r--source/tools/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index e15c09b0..00f71cf0 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -863,7 +863,7 @@ int mudraw_main(int argc, char **argv)
fz_var(doc);
- while ((c = fz_getopt(argc, argv, "po:F:R:r:w:h:fB:c:G:I:s:A:DiW:H:S:U:v")) != -1)
+ while ((c = fz_getopt(argc, argv, "p:o:F:R:r:w:h:fB:c:G:I:s:A:DiW:H:S:U:v")) != -1)
{
switch (c)
{