Mercurial > libpst
diff src/pst2dii.cpp.in @ 214:7fcff97ca5a9
document pst2dii font file arg not optional, patch from bharder to fix documentation for pst_getTopOfFolders
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 17 Jun 2009 22:11:12 -0700 |
parents | 4a659f3138b7 |
children | 410b6422d65b |
line wrap: on
line diff
--- a/src/pst2dii.cpp.in Mon Jun 08 14:47:39 2009 -0700 +++ b/src/pst2dii.cpp.in Wed Jun 17 22:11:12 2009 -0700 @@ -98,7 +98,8 @@ static void usage() { version(); - printf("Usage: %s [OPTIONS] {PST FILENAME}\n", prog_name); + printf("Usage: %s -f ttf-font-file [OPTIONS] {PST FILENAME}\n", prog_name); + printf("\t-f ttf-font-file \t- Set the font file\n"); printf("OPTIONS:\n"); printf("\t-B bates-prefix \t- Set the bates prefix string\n"); printf("\t-O dii-output-file\t- Set the dii load file output filename\n"); @@ -106,7 +107,6 @@ printf("\t-b bates-number \t- Set the starting bates sequence number\n"); printf("\t-c bates-color \t- Specify the color of the bates stamps as 6 digit hex\n"); printf("\t-d filename \t- Debug to file. This is a binary log. Use readpstlog to print it.\n"); - printf("\t-f ttf-font-file \t- Set the font file\n"); printf("\t-h \t- Help. This screen\n"); printf("\t-o dirname \t- Output directory to write files to.\n"); } @@ -678,6 +678,11 @@ } } + if (!font_file) { + usage(); + exit(1); + } + if (argc > optind) { fname = argv[optind]; } else {