From 9dda5aa73d6dcb72c9f10b87564afe7491575faf Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 4 May 2016 18:00:37 +0200 Subject: Add long output option parsing. Use comma-separated list of flags and key/value pairs, for example: "linearize,resolution=72,colorspace=gray" --- source/tools/pdfmerge.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/tools/pdfmerge.c') diff --git a/source/tools/pdfmerge.c b/source/tools/pdfmerge.c index f63a90c7..597bd4ce 100644 --- a/source/tools/pdfmerge.c +++ b/source/tools/pdfmerge.c @@ -11,10 +11,11 @@ static void usage(void) fprintf(stderr, "usage: mutool merge [-o output.pdf] [-O options] input.pdf [pages] [input2.pdf] [pages2] ...\n" "\t-o\tname of PDF file to create\n" - "\t-O\tPDF write options\n" - "\tinput.pdf\tname of first PDF file from which we are copying pages\n" - "\tpages: comma separated list of page ranges (for example: 1-5,6,10-)\n" + "\t-O\tcomma separated list of output options\n" + "\tinput.pdf\tname of input file from which to copy pages\n" + "\tpages\tcomma separated list of page ranges to copy (for example: 1-5,6,10-)\n\n" ); + fprintf(stderr, "%s\n", fz_pdf_write_options_usage); exit(1); } -- cgit v1.2.3