aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_utils
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.bash_utils')
-rw-r--r--%HOME%/.bash_utils/git.sh4
-rw-r--r--%HOME%/.bash_utils/text.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/%HOME%/.bash_utils/git.sh b/%HOME%/.bash_utils/git.sh
index 1d9a919..7b6c22c 100644
--- a/%HOME%/.bash_utils/git.sh
+++ b/%HOME%/.bash_utils/git.sh
@@ -14,13 +14,13 @@ list_repo_files() (
while [ "$#" -gt 0 ]; do
case "$1" in
- -z|-0)
+ -0|-z)
cmd+=(-z)
shift
;;
-h|--help)
- echo "usage: ${FUNCNAME[0]} [-h|--help] [-z|-0]"
+ echo "usage: ${FUNCNAME[0]} [-h|--help] [-0|-z]"
return 0
;;
diff --git a/%HOME%/.bash_utils/text.sh b/%HOME%/.bash_utils/text.sh
index e271e80..2228a8b 100644
--- a/%HOME%/.bash_utils/text.sh
+++ b/%HOME%/.bash_utils/text.sh
@@ -98,7 +98,7 @@ str_split() (
while [ "$#" -ne 0 ]; do
case "$1" in
- -z|-0)
+ -0|-z)
zero=1
shift
;;