Mercurial > libpst
comparison 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 |
comparison
equal
deleted
inserted
replaced
213:4a659f3138b7 | 214:7fcff97ca5a9 |
---|---|
96 | 96 |
97 static void usage(); | 97 static void usage(); |
98 static void usage() | 98 static void usage() |
99 { | 99 { |
100 version(); | 100 version(); |
101 printf("Usage: %s [OPTIONS] {PST FILENAME}\n", prog_name); | 101 printf("Usage: %s -f ttf-font-file [OPTIONS] {PST FILENAME}\n", prog_name); |
102 printf("\t-f ttf-font-file \t- Set the font file\n"); | |
102 printf("OPTIONS:\n"); | 103 printf("OPTIONS:\n"); |
103 printf("\t-B bates-prefix \t- Set the bates prefix string\n"); | 104 printf("\t-B bates-prefix \t- Set the bates prefix string\n"); |
104 printf("\t-O dii-output-file\t- Set the dii load file output filename\n"); | 105 printf("\t-O dii-output-file\t- Set the dii load file output filename\n"); |
105 printf("\t-V \t- Version. Display program version\n"); | 106 printf("\t-V \t- Version. Display program version\n"); |
106 printf("\t-b bates-number \t- Set the starting bates sequence number\n"); | 107 printf("\t-b bates-number \t- Set the starting bates sequence number\n"); |
107 printf("\t-c bates-color \t- Specify the color of the bates stamps as 6 digit hex\n"); | 108 printf("\t-c bates-color \t- Specify the color of the bates stamps as 6 digit hex\n"); |
108 printf("\t-d filename \t- Debug to file. This is a binary log. Use readpstlog to print it.\n"); | 109 printf("\t-d filename \t- Debug to file. This is a binary log. Use readpstlog to print it.\n"); |
109 printf("\t-f ttf-font-file \t- Set the font file\n"); | |
110 printf("\t-h \t- Help. This screen\n"); | 110 printf("\t-h \t- Help. This screen\n"); |
111 printf("\t-o dirname \t- Output directory to write files to.\n"); | 111 printf("\t-o dirname \t- Output directory to write files to.\n"); |
112 } | 112 } |
113 | 113 |
114 | 114 |
676 exit(1); | 676 exit(1); |
677 break; | 677 break; |
678 } | 678 } |
679 } | 679 } |
680 | 680 |
681 if (!font_file) { | |
682 usage(); | |
683 exit(1); | |
684 } | |
685 | |
681 if (argc > optind) { | 686 if (argc > optind) { |
682 fname = argv[optind]; | 687 fname = argv[optind]; |
683 } else { | 688 } else { |
684 usage(); | 689 usage(); |
685 exit(2); | 690 exit(2); |