summaryrefslogtreecommitdiff
path: root/source/tools/pdfcreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/pdfcreate.c')
-rw-r--r--source/tools/pdfcreate.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/tools/pdfcreate.c b/source/tools/pdfcreate.c
index 839e493e..77f0c819 100644
--- a/source/tools/pdfcreate.c
+++ b/source/tools/pdfcreate.c
@@ -11,9 +11,15 @@ static void usage(void)
fprintf(stderr,
"usage: mutool create [-o output.pdf] [-O options] page.txt [page2.txt ...]\n"
"\t-o\tname of PDF file to create\n"
- "\t-O\tPDF write options\n"
- "\tpage.txt file defines page size, fonts, images and contents\n"
+ "\t-O\tcomma separated list of output options\n"
+ "\tpage.txt\tcontent stream with annotations for creating resources\n\n"
+ "Content stream special commands:\n"
+ "\t%%%%MediaBox LLX LLY URX URY\n"
+ "\t%%%%Rotate Angle\n"
+ "\t%%%%Font Name Filename (or base 14 font name)\n"
+ "\t%%%%Image Name Filename\n\n"
);
+ fprintf(stderr, "%s\n", fz_pdf_write_options_usage);
exit(1);
}