Enable -l for log option
This commit is contained in:
parent
23275d99c7
commit
5f82ad29e7
|
@ -213,7 +213,7 @@ space at ROM and ROM_P2.
|
|||
Options:
|
||||
-e, --execute=CMD execute CMD and exit, can be used multiple times
|
||||
--norc do not execute any fxosrc files
|
||||
--log=LEVEL set log level (debug, warning, error; default warning)
|
||||
-l, --log=LEVEL set log level (debug, warning, error; default warning)
|
||||
-h, --help display this help and exit
|
||||
)";
|
||||
|
||||
|
@ -233,7 +233,7 @@ static void parse_options(int argc, char **argv) {
|
|||
int opt, option_index;
|
||||
while (1) {
|
||||
/* Get the next command-line option */
|
||||
opt = getopt_long(argc, argv, "he:", long_options, &option_index);
|
||||
opt = getopt_long(argc, argv, "he:l:", long_options, &option_index);
|
||||
|
||||
if (opt == -1)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue