version should check > 21, not > 22

This commit is contained in:
Viktor Haag 2016-12-01 16:03:40 -05:00
parent c802f5348b
commit c011691455
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ _ag_add_file_types() {
_ag_add_version_opts() { _ag_add_version_opts() {
local ag_version=$(_ag_version) local ag_version=$(_ag_version)
if [[ $ag_version > 0.22 ]]; then if [[ $ag_version > 0.21 ]]; then
_ag_add_file_types _ag_add_file_types
AG_OPTS+=( AG_OPTS+=(
'(- 1 *)--list-file-types[list supported filetypes to search]' '(- 1 *)--list-file-types[list supported filetypes to search]'