From 82afc0f9eb2f175a34682248076f462d9b28e4ab Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 7 Nov 2016 00:10:34 +0300 Subject: code style --- %HOME%/.bash_utils/git.sh | 4 ++-- %HOME%/.bash_utils/text.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '%HOME%/.bash_utils') 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 ;; -- cgit v1.2.3