Mercurial > hg > dmlib
comparison tools/data2inc.c @ 2251:d736ff74663b
Oops, we had two '-n' short options. Change the line items one to '-l'.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Jun 2019 21:39:41 +0300 |
parents | 956db0095f82 |
children | e771185db600 |
comparison
equal
deleted
inserted
replaced
2250:956db0095f82 | 2251:d736ff74663b |
---|---|
56 { 0, '?', "help", "Show this help", OPT_NONE }, | 56 { 0, '?', "help", "Show this help", OPT_NONE }, |
57 { 1, 'n', "name", "Set object name", OPT_ARGREQ }, | 57 { 1, 'n', "name", "Set object name", OPT_ARGREQ }, |
58 { 2, 't', "type", "Set datatype (unsigned char/byte)", OPT_ARGREQ }, | 58 { 2, 't', "type", "Set datatype (unsigned char/byte)", OPT_ARGREQ }, |
59 { 3, 'f', "format", "Set output format (see list below)", OPT_ARGREQ }, | 59 { 3, 'f', "format", "Set output format (see list below)", OPT_ARGREQ }, |
60 { 4, 'a', "add-line", "Add this line to start of file", OPT_ARGREQ }, | 60 { 4, 'a', "add-line", "Add this line to start of file", OPT_ARGREQ }, |
61 { 5, 'n', "nitems", "Set number of items per line", OPT_ARGREQ }, | 61 { 5, 'l', "line-items", "Set number of items per line", OPT_ARGREQ }, |
62 { 6, 'x', "hexadecimal", "Use hexadecimal output", OPT_NONE }, | 62 { 6, 'x', "hexadecimal", "Use hexadecimal output", OPT_NONE }, |
63 { 7, 'q', "quiet", "Do not add comments", OPT_NONE }, | 63 { 7, 'q', "quiet", "Do not add comments", OPT_NONE }, |
64 { 8, 'N', "no-formatting", "Disable additional output formatting", OPT_NONE }, | 64 { 8, 'N', "no-formatting", "Disable additional output formatting", OPT_NONE }, |
65 { 9, 'i', "indentation", "Set indentation (negative value = tab)", OPT_ARGREQ }, | 65 { 9, 'i', "indentation", "Set indentation (negative value = tab)", OPT_ARGREQ }, |
66 { 10, 'e', "extra-data", "Add object end labels and size in asm output", OPT_NONE }, | 66 { 10, 'e', "extra-data", "Add object end labels and size in asm output", OPT_NONE }, |