Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
15b4ef41
Commit
15b4ef41
authored
Jun 29, 2014
by
Ivica Bukvic
Browse files
*added courtesy check when invoking listdev in gui mode to automatically open the console
parent
78b54fdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/s_main.c
View file @
15b4ef41
...
...
@@ -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
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment