Commit 15b4ef41 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*added courtesy check when invoking listdev in gui mode to automatically open the console

parent 78b54fdb
......@@ -970,6 +970,13 @@ int sys_argparse(int argc, char **argv)
return (1);
}
}
if (sys_listplease && !sys_printtostderr)
{
// if we asked to list devices and are not using stderr output
// open console to facilitate understanding where devices have
// been listed
sys_console = 1;
}
if (!sys_defaultfont)
sys_defaultfont = DEFAULTFONT;
for (; argc > 0; argc--, argv++)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment