Skip to content
Snippets Groups Projects
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
No related merge requests found
...@@ -970,6 +970,13 @@ int sys_argparse(int argc, char **argv) ...@@ -970,6 +970,13 @@ int sys_argparse(int argc, char **argv)
return (1); 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) if (!sys_defaultfont)
sys_defaultfont = DEFAULTFONT; sys_defaultfont = DEFAULTFONT;
for (; argc > 0; argc--, argv++) for (; argc > 0; argc--, argv++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment