summaryrefslogtreecommitdiff
path: root/source/tools/pdfshow.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-04-01 12:26:22 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-04-01 12:51:32 +0200
commitc9e994a8d56454080250ba444c6d9efae09f5cc7 (patch)
tree6994931c270bcb802492d557deffe08d18397718 /source/tools/pdfshow.c
parent1977a47d0a72f470539be8e6bb6d6e321ce44770 (diff)
downloadmupdf-c9e994a8d56454080250ba444c6d9efae09f5cc7.tar.xz
Update manpages.
Diffstat (limited to 'source/tools/pdfshow.c')
-rw-r--r--source/tools/pdfshow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c
index 10ed4405..b3ce036f 100644
--- a/source/tools/pdfshow.c
+++ b/source/tools/pdfshow.c
@@ -15,10 +15,10 @@ static int showcolumn;
static void usage(void)
{
fprintf(stderr, "usage: mutool show [options] file.pdf [grep] [xref] [trailer] [pages] [outline] [object numbers]\n");
+ fprintf(stderr, "\t-p -\tpassword\n");
+ fprintf(stderr, "\t-o -\toutput file\n");
fprintf(stderr, "\t-b\tprint streams as binary data\n");
fprintf(stderr, "\t-e\tprint encoded streams (don't decode)\n");
- fprintf(stderr, "\t-p\tpassword\n");
- fprintf(stderr, "\t-o\toutput file\n");
exit(1);
}
@@ -224,9 +224,9 @@ int pdfshow_main(int argc, char **argv)
switch (c)
{
case 'p': password = fz_optarg; break;
+ case 'o': output = fz_optarg; break;
case 'b': showbinary = 1; break;
case 'e': showdecode = 0; break;
- case 'o': output = fz_optarg; break;
default: usage(); break;
}
}