diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-11-18 22:01:30 -0800 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-11-18 22:01:30 -0800 |
commit | aa36e5c085a0c9fab4c8ee0d181efc2d0e7b76a6 (patch) | |
tree | ab74be2953e7d1f0b35b04fc88ce791aacd536b2 | |
parent | e0fa14bdf38e8c6b4d6d9ebea4c59fdac8a6a906 (diff) | |
download | natsort-remove-deprecated-apis.tar.gz |
Remove "digit", "version", "ver", and "d" for shell scriptremove-deprecated-apis
These correspond to deprecated concepts.
-rw-r--r-- | natsort/__main__.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/natsort/__main__.py b/natsort/__main__.py index 70d9572..b52bf36 100644 --- a/natsort/__main__.py +++ b/natsort/__main__.py @@ -78,13 +78,12 @@ def main(*arguments): "--number-type", "--number_type", dest="number_type", - choices=("digit", "int", "float", "version", "ver", "real", "f", "i", "r", "d"), + choices=("int", "float", "real", "f", "i", "r"), default="int", help='Choose the type of number to search for. "float" will search ' 'for floating-point numbers. "int" will only search for ' - 'integers. "digit", "version", and "ver" are synonyms for "int".' - '"real" is a shortcut for "float" with --sign. ' - '"i" and "d" are synonyms for "int", "f" is a synonym for ' + 'integers. "real" is a shortcut for "float" with --sign. ' + '"i" is a synonym for "int", "f" is a synonym for ' '"float", and "r" is a synonym for "real".' "The default is %(default)s.", ) |