diff --git a/shell/main.cpp b/shell/main.cpp index a9cf97a..7b4a21d 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -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;