aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-07 00:10:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-07 00:10:34 +0300
commit82afc0f9eb2f175a34682248076f462d9b28e4ab (patch)
treeeab62c097d11511e932dc89483661db5084385da /%HOME%
parentdistr.sh: prefix with sums_ & add usage messages (diff)
downloadlinux-home-82afc0f9eb2f175a34682248076f462d9b28e4ab.tar.gz
linux-home-82afc0f9eb2f175a34682248076f462d9b28e4ab.zip
code style
Diffstat (limited to '')
-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
;;