diff --git a/.config/zsh/functions/btrfs-snapshot-compare b/.config/zsh/functions/btrfs-snapshot-compare index 21d05a1..3211fb9 100755 --- a/.config/zsh/functions/btrfs-snapshot-compare +++ b/.config/zsh/functions/btrfs-snapshot-compare @@ -5,7 +5,7 @@ setopt LOCAL_OPTIONS ERR_RETURN NO_UNSET PIPE_FAIL autoload -U die -[[ ${ARGC} -lt 2 ]] && die 1 "Usage: ${0} " +[[ ${ARGC} -ne 2 ]] && die 1 "Usage: ${0} " local old="${1}" local new="${2}"