diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-07 00:10:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-07 00:10:34 +0300 |
commit | 82afc0f9eb2f175a34682248076f462d9b28e4ab (patch) | |
tree | eab62c097d11511e932dc89483661db5084385da /%HOME%/.bash_utils | |
parent | distr.sh: prefix with sums_ & add usage messages (diff) | |
download | linux-home-82afc0f9eb2f175a34682248076f462d9b28e4ab.tar.gz linux-home-82afc0f9eb2f175a34682248076f462d9b28e4ab.zip |
code style
Diffstat (limited to '%HOME%/.bash_utils')
-rw-r--r-- | %HOME%/.bash_utils/git.sh | 4 | ||||
-rw-r--r-- | %HOME%/.bash_utils/text.sh | 2 |
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 ;; |