mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 07:51:29 +00:00
pw-dot: send diagnostic messages to stderr, not stdout
This will help when using stdout for other purposes in the future (e.g. next commit).
This commit is contained in:
parent
8cf6da467f
commit
4a0b7fa9b8
|
@ -792,23 +792,23 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
case 'a' :
|
||||
data.show_all = true;
|
||||
fprintf(stdout, "all option enabled\n");
|
||||
fprintf(stderr, "all option enabled\n");
|
||||
break;
|
||||
case 's' :
|
||||
data.show_smart = true;
|
||||
fprintf(stdout, "smart option enabled\n");
|
||||
fprintf(stderr, "smart option enabled\n");
|
||||
break;
|
||||
case 'd' :
|
||||
data.show_detail = true;
|
||||
fprintf(stdout, "detail option enabled\n");
|
||||
fprintf(stderr, "detail option enabled\n");
|
||||
break;
|
||||
case 'r' :
|
||||
opt_remote = optarg;
|
||||
fprintf(stdout, "set remote to %s\n", opt_remote);
|
||||
fprintf(stderr, "set remote to %s\n", opt_remote);
|
||||
break;
|
||||
case 'o' :
|
||||
dot_path = optarg;
|
||||
fprintf(stdout, "set output file %s\n", dot_path);
|
||||
fprintf(stderr, "set output file %s\n", dot_path);
|
||||
break;
|
||||
default:
|
||||
show_help(argv[0]);
|
||||
|
|
Loading…
Reference in a new issue