comparison sidinfo.c @ 204:0327fe1d0686

Enable -v verbosity option.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Dec 2018 02:39:42 +0200
parents 2278044cbebb
children c05a8351dc9b
comparison
equal deleted inserted replaced
203:b4a349f1c2f4 204:0327fe1d0686
121 121
122 // Define option arguments 122 // Define option arguments
123 static const th_optarg optList[] = 123 static const th_optarg optList[] =
124 { 124 {
125 { 0, '?', "help", "Show this help", OPT_NONE }, 125 { 0, '?', "help", "Show this help", OPT_NONE },
126 // { 1, 'v', "verbose", "Be more verbose", OPT_NONE }, 126 { 1, 'v', "verbose", "Be more verbose", OPT_NONE },
127 {10, 0, "license", "Print out this program's license agreement", OPT_NONE }, 127 {10, 0, "license", "Print out this program's license agreement", OPT_NONE },
128 128
129 { 2, 'p', "parsable", "Output in script-parsable format", OPT_NONE }, 129 { 2, 'p', "parsable", "Output in script-parsable format", OPT_NONE },
130 { 5, 'n', "noprefix", "Output without field name prefix", OPT_NONE }, 130 { 5, 'n', "noprefix", "Output without field name prefix", OPT_NONE },
131 { 6, 'l', "line", "Output in one line format, -l <field separator>", OPT_ARGREQ }, 131 { 6, 'l', "line", "Output in one line format, -l <field separator>", OPT_ARGREQ },