diff options
Diffstat (limited to '')
-rw-r--r-- | .bash_utils/cxx.sh | 4 | ||||
-rw-r--r-- | .bash_utils/text.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.bash_utils/cxx.sh b/.bash_utils/cxx.sh index 49d4549..527c120 100644 --- a/.bash_utils/cxx.sh +++ b/.bash_utils/cxx.sh @@ -27,7 +27,7 @@ runc() ( ;; -h|--help) - echo "usage: ${FUNCNAME[0]} [-h|--help] [-c|--c-flags FLAG]" + echo "usage: ${FUNCNAME[0]} [-h|--help] [-c|--c-flags FLAG]... [--] [SRC_PATH]..." return 0 ;; @@ -83,7 +83,7 @@ runcxx() ( ;; -h|--help) - echo "usage: ${FUNCNAME[0]} [-h|--help] [-c|--cxx-flags FLAG]" + echo "usage: ${FUNCNAME[0]} [-h|--help] [-c|--cxx-flags FLAG]... [--] [SRC_PATH]..." return 0 ;; diff --git a/.bash_utils/text.sh b/.bash_utils/text.sh index 71ee38c..ad3f203 100644 --- a/.bash_utils/text.sh +++ b/.bash_utils/text.sh @@ -30,7 +30,7 @@ replace_word() ( set -o errexit -o nounset -o pipefail if [ "$#" -lt 3 ]; then - echo "usage: ${FUNCNAME[0]} OLD NEW PATH [PATH...]" >&2 + echo "usage: ${FUNCNAME[0]} OLD NEW PATH..." >&2 return 1 fi |