diff options
author | Nicholas Chammas <nicholas.chammas@gmail.com> | 2015-02-06 12:08:22 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-02-06 12:08:22 -0800 |
commit | 70e5b030a78ddfdcc8c9eee568009f277dee0872 (patch) | |
tree | 9b132c3a277b535da1912c54329f88383b0ccf35 /sql | |
parent | d34f79c8db79ae461fadae190446ebc19091bec9 (diff) | |
download | spark-70e5b030a78ddfdcc8c9eee568009f277dee0872.tar.gz spark-70e5b030a78ddfdcc8c9eee568009f277dee0872.tar.bz2 spark-70e5b030a78ddfdcc8c9eee568009f277dee0872.zip |
[SPARK-5628] Add version option to spark-ec2
Every proper command line tool should include a `--version` option or something similar.
This PR adds this to `spark-ec2` using the standard functionality provided by `optparse`.
One thing we don't do here is follow the Python convention of setting `__version__`, since it seems awkward given how `spark-ec2` is laid out.
Author: Nicholas Chammas <nicholas.chammas@gmail.com>
Closes #4414 from nchammas/spark-ec2-show-version and squashes the following commits:
914cab5 [Nicholas Chammas] add version info
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions