Update -t option so that it fits in a DOS window

This commit is contained in:
hooper114 2009-06-19 18:30:47 +00:00
parent ae1d317fb6
commit b1ca793638

View File

@ -33,32 +33,32 @@
void types(void) { void types(void) {
printf( " 1: Code 11 50: Logmars 86: UK Plessey\n" printf( " 1: Code 11 50: Logmars 86: UK Plessey\n"
" 2: Standard 2 of 5 51: Pharma One-Track 87: Telepen Numeric\n" " 2: Standard 2of5 51: Pharma One-Track 87: Telepen Numeric\n"
" 3: Interleaved 2 of 5 52: PZN 89: ITF-14\n" " 3: Interleaved 2of5 52: PZN 89: ITF-14\n"
" 4: IATA 2 of 5 53: Pharma Two-Track 90: KIX Code\n" " 4: IATA 2of5 53: Pharma Two-Track 90: KIX Code\n"
" 6: Data Logic 55: PDF417 92: Aztec Code\n" " 6: Data Logic 55: PDF417 92: Aztec Code\n"
" 7: Industrial 2 of 5 56: PDF417 Trunc 93: DAFT Code\n" " 7: Industrial 2of5 56: PDF417 Trunc 93: DAFT Code\n"
" 8: Code 39 57: Maxicode 97: Micro QR Code\n" " 8: Code 39 57: Maxicode 97: Micro QR Code\n"
" 9: Extended Code 39 58: QR Code 98: HIBC Code 128\n" " 9: Extended Code 39 58: QR Code 98: HIBC Code 128\n"
" 13: EAN 60: Code 128-B 99: HIBC Code 39\n" "13: EAN 60: Code 128-B 99: HIBC Code 39\n"
" 16: GS1-128 63: AP Standard Customer 102: HIBC Data Matrix\n" "16: GS1-128 63: AP Standard Customer 102: HIBC Data Matrix\n"
" 18: Codabar 66: AP Reply Paid 104: HIBC QR Code\n" "18: Codabar 66: AP Reply Paid 104: HIBC QR Code\n"
" 20: Code 128 67: AP Routing 106: HIBC PDF417\n" "20: Code 128 67: AP Routing 106: HIBC PDF417\n"
" 21: Leitcode 68: AP Redirection 108: HIBC MicroPDF417\n" "21: Leitcode 68: AP Redirection 108: HIBC MicroPDF417\n"
" 22: Identcode 69: ISBN 110: HIBC Codablock-F\n" "22: Identcode 69: ISBN 110: HIBC Codablock-F\n"
" 23: Code 16k 70: RM4SCC 128: Aztec Runes\n" "23: Code 16k 70: RM4SCC 128: Aztec Runes\n"
" 24: Code 49 71: Data Matrix 129: Code 23\n" "24: Code 49 71: Data Matrix 129: Code 23\n"
" 25: Code 93 72: EAN-14 130: Comp + EAN\n" "25: Code 93 72: EAN-14 130: Comp EAN\n"
" 28: Flattermarken 74: Codablock-F 131: Comp + GS1-128\n" "28: Flattermarken 74: Codablock-F 131: Comp GS1-128\n"
" 29: Databar-14 75: NVE-18 132: Comp + Databar-14\n" "29: Databar-14 75: NVE-18 132: Comp Databar-14\n"
" 30: Databar Limited 76: Japanese Post 133: Comp + Databar Ltd\n" "30: Databar Limited 76: Japanese Post 133: Comp Databar Ltd\n"
" 31: Databar Extended 77: Korea Post 134: Comp + Databar Ext\n" "31: Databar Extended 77: Korea Post 134: Comp Databar Ext\n"
" 32: Telepen Alpha 79: Databar-14 Stack 135: Comp + UPC-A\n" "32: Telepen Alpha 79: Databar-14 Stack 135: Comp UPC-A\n"
" 34: UPC-A 80: Databar-14 Stack Omni 136: Comp + UPC-E\n" "34: UPC-A 80: Databar-14 Stack Omni 136: Comp UPC-E\n"
" 37: UPC-E 81: Databar Extended Stack 137: Comp + Databar-14 Stack\n" "37: UPC-E 81: Databar Extended Stack 137: Comp Databar-14 Stack\n"
" 40: Postnet 82: Planet 138: Comp + Databar Stack Omni\n" "40: Postnet 82: Planet 138: Comp Databar Stack Omni\n"
" 47: MSI Plessey 84: MicroPDF 139: Comp + Databar Ext Stack\n" "47: MSI Plessey 84: MicroPDF 139: Comp Databar Ext Stack\n"
" 49: FIM 85: USPS OneCode 140: Channel Code\n" "49: FIM 85: USPS OneCode 140: Channel Code\n"
); );
} }
@ -66,7 +66,7 @@ void usage(void)
{ {
printf( printf(
"Zint version %s\n" "Zint version %s\n"
"Encode input data in a barcode and save as a PNG or EPS file.\n\n" "Encode input data in a barcode and save as a PNG, EPS or SVG file.\n\n"
" -h, --help Display this message.\n" " -h, --help Display this message.\n"
" -t, --types Display table of barcode types\n" " -t, --types Display table of barcode types\n"
" -o, --output=FILE Write image to FILE. (default is out.png)\n" " -o, --output=FILE Write image to FILE. (default is out.png)\n"