diff --git a/try.rb b/try.rb index f14355a..400bb20 100755 --- a/try.rb +++ b/try.rb @@ -826,7 +826,7 @@ def print_global_help Default path: ~/src/tries Current: #{TrySelector::TRY_PATH} HELP - STDOUT.print(text) + STDERR.print(text) end # Process color-related flags early @@ -844,7 +844,7 @@ def print_global_help # Version flag if ARGV.include?("--version") || ARGV.include?("-v") - puts "try #{VERSION}" + STDERR.puts "try #{VERSION}" exit 0 end