diff --git a/sbt b/sbt index 5c82961c0..7930e53f9 100755 --- a/sbt +++ b/sbt @@ -250,7 +250,7 @@ Usage: $script_name [options] -scala-home use the scala build at the specified directory -scala-version use the specified version of scala - # java version (default: java from PATH, currently $(java -version |& grep version)) + # java version (default: java from PATH, currently $(java -version 2>&1 | grep version)) -java-home alternate JAVA_HOME # jvm options and output control