Add an option to turn off a progress bar in spark-shell