diff --git a/lib/version.sh b/lib/version.sh index 6c49ad0..c8b3267 100644 --- a/lib/version.sh +++ b/lib/version.sh @@ -14,9 +14,9 @@ bat_version() { # Compares two version strings. # Arguments: -# 0 -- The version to compare. -# 1 -- The comparison operator (same as []). -# 2 -- The version to compare with. +# 1 -- The version to compare. +# 2 -- The comparison operator (same as []). +# 3 -- The version to compare with. version_compare() { local version="$1" local compare="$3"