diff --git a/make-distribution.sh b/make-distribution.sh
index b5a90f0f3bfe9e08ac1dd2f24bda0fb0907aa40c..c08093f46b61f467da4504596238ea1b1cf1bfa5 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -58,7 +58,7 @@ while (( "$#" )); do
       exit_with_usage
       ;;
     --with-hive)
-      echo "Error: '--with-hive' is no longer supported, use Maven option -Pyarn"
+      echo "Error: '--with-hive' is no longer supported, use Maven option -Phive"
       exit_with_usage
       ;;
     --skip-java-test)