Browse Source

Fix typo in usage error template

Alois Mahdal 4 years ago
parent
commit
93fa1abb5a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include-bash/pretty.sh

+ 1
- 1
src/include-bash/pretty.sh View File

@@ -162,7 +162,7 @@ mkusage() {
162 162
         -k) es=$EXIT_OK;    shift ;;
163 163
         -w) cmsg="$2";      shift 2 || return 2 ;;
164 164
         -m) cmsg="no $2?";  shift 2 || return 2 ;;
165
-        -M) cmsg="missing argument for: $2"; shift 2 || return 2 ;;
165
+        -M) cmsg="missing value for: $2";    shift 2 || return 2 ;;
166 166
         -u) cmsg="unknown argument: $2";     shift 2 || return 2 ;;
167 167
         -U) cmsg="unknown command: $2";      shift 2 || return 2 ;;
168 168
         --)                 shift; break ;;