Skip to content

Commit

Permalink
add the shorter version of version flag (-v) in cqlsh
Browse files Browse the repository at this point in the history
patch by Yash Ladha; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-17236
  • Loading branch information
yashLadha authored and smiklosovic committed Feb 9, 2022
1 parent 6d7b0a1 commit f6169d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
@@ -1,4 +1,5 @@
4.1
* add the shorter version of version flag (-v) in cqlsh (CASSANDRA-17236)
* Make vtables accessible via internode messaging (CASSANDRA-17295)
* Add support for PEM based key material for SSL (CASSANDRA-17031)
* Standardize storage configuration parameters' names. Support unit suffixes. (CASSANDRA-15234)
Expand Down
1 change: 1 addition & 0 deletions bin/cqlsh.py
Expand Up @@ -222,6 +222,7 @@ def find_zip(libprefix):
help='Specify the default request timeout in seconds (default: %default seconds).')
parser.add_option("-t", "--tty", action='store_true', dest='tty',
help='Force tty mode (command prompt).')
parser.add_option('-v', action="version", help='Print the current version of cqlsh.')

# This is a hidden option to suppress the warning when the -p/--password command line option is used.
# Power users may use this option if they know no other people has access to the system where cqlsh is run or don't care about security.
Expand Down

0 comments on commit f6169d3

Please sign in to comment.