Before: spark --version returns "spark: error: the following arguments are required: command" instead of the version number. spark version also returns an invalid choice error.
After fix: spark --version correctly returns "spark-cli 0.1.0".
Repro steps:
- Run spark --version in terminal
- Observe: spark: error: the following arguments are required: command
- Run spark version
- Observe: error: argument command: invalid choice: 'version'
Before: spark --version returns "spark: error: the following arguments are required: command" instead of the version number. spark version also returns an invalid choice error.
After fix: spark --version correctly returns "spark-cli 0.1.0".
Repro steps: