From 36df9ce850c0f1d7bf1eadf5b39301b0be82a6c0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 12 Nov 2016 08:16:09 +0300 Subject: traverse_path: usage message update --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index c61b07c..ec9cb26 100755 --- a/update.sh +++ b/update.sh @@ -79,7 +79,7 @@ traverse_path() { exit_with_usage=0 break ;; - -z|-0|--zero) + -0|-z|--zero) fmt='%s\0' ;; --) @@ -103,7 +103,7 @@ traverse_path() { done if [ -n "$exit_with_usage" ]; then - echo "usage: ${FUNCNAME[0]} [-h|--help] [-e|--exist] [-f|--file] [-d|--directory] [--] [PATH]..." || true + echo "usage: ${FUNCNAME[0]} [-h|--help] [-0|-z|--zero] [-e|--exist] [-f|--file] [-d|--directory] [--] [PATH]..." || true return "$exit_with_usage" fi -- cgit v1.2.3