From 71f9ebbcea1d115ac8181c6074d80421f46973c1 Mon Sep 17 00:00:00 2001 From: DeveloperC Date: Tue, 30 Jan 2024 23:56:43 +0000 Subject: [PATCH] feat: removing '--version' option Not able to update it automatically using release-please. --- src/zsh-simple-abbreviations | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/zsh-simple-abbreviations b/src/zsh-simple-abbreviations index 53426e7..a8f7de9 100644 --- a/src/zsh-simple-abbreviations +++ b/src/zsh-simple-abbreviations @@ -1,6 +1,5 @@ #!/usr/bin/env zsh -VERSION='0.3.0' KEY_REGEX="^[[:alnum:]]+$" __zsh_simple_abbreviations::expand() { @@ -58,7 +57,6 @@ case $1 in fi ;; - --list) if [[ $# -ne 1 ]]; then echo "zsh_simple_abbreviations list sub-command takes no other arguments." @@ -70,16 +68,6 @@ case $1 in done ;; - - --version) - if [[ $# -ne 1 ]]; then - echo "zsh_simple_abbreviations version sub-command takes no other arguments." - return 1 - fi - - echo "${VERSION}" - ;; - *) echo "zsh_simple_abbreviations unrecognised sub-command." return 1