Skip to content

Commit

Permalink
feat: removing '--version' option (#24)
Browse files Browse the repository at this point in the history
Not able to update it automatically using release-please.
  • Loading branch information
DeveloperC286 authored Jan 30, 2024
1 parent c53a8ca commit 5172c8b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/zsh-simple-abbreviations
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env zsh

VERSION='0.3.0'
KEY_REGEX="^[[:alnum:]]+$"

__zsh_simple_abbreviations::expand() {
Expand Down Expand Up @@ -58,7 +57,6 @@ case $1 in
fi
;;


--list)
if [[ $# -ne 1 ]]; then
echo "zsh_simple_abbreviations list sub-command takes no other arguments."
Expand All @@ -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
Expand Down

0 comments on commit 5172c8b

Please sign in to comment.