From fa4a5b5c2b699aaa7809454e4ee063a44186e289 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 19 Jan 2015 22:52:04 -0500 Subject: [PATCH] Print error message to std::cerr. --- tmux-mem-cpu-load.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux-mem-cpu-load.cc b/tmux-mem-cpu-load.cc index 556ae47..2937a39 100644 --- a/tmux-mem-cpu-load.cc +++ b/tmux-mem-cpu-load.cc @@ -155,7 +155,7 @@ int main( int argc, char** argv ) return EXIT_FAILURE; break; default: - std::cout << "?? getopt returned character code 0 " << c << std::endl; + std::cerr << "?? getopt returned character code 0 " << c << std::endl; return EXIT_FAILURE; } }