Refactor conf_parse_cmdline(), support 'debug' as well as '--debug'

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-12-30 21:19:55 +01:00
parent 925212f7cf
commit db3263c441
2 changed files with 20 additions and 10 deletions
+2 -1
View File
@@ -366,7 +366,8 @@ int main(int argc, char* argv[])
mount("none", "/proc/bus/usb", "usbfs", 0, NULL);
/*
* Parse kernel parameters, including log_init()
* Parse kernel command line (debug, rescue, splash, etc.)
* Also calls log_init() to set correct log level
*/
conf_parse_cmdline();