]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-while-getopts): Punctuate help message better.
authorRichard M. Stallman <rms@gnu.org>
Mon, 15 Apr 1996 21:17:59 +0000 (21:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 15 Apr 1996 21:17:59 +0000 (21:17 +0000)
lisp/progmodes/sh-script.el

index 0a7b387d06f154184b9891777fc268d6ad221a39..51923ee27952049ebdb40f2b3e4856d1d6396334 100644 (file)
@@ -1297,12 +1297,12 @@ option followed by a colon `:' if the option accepts an argument."
        ";;" \n)
       < "*)" \n
       > "echo" " \"usage: " "`basename $0`"
-      "+-" '(setq v1 (point)) str
+      " [+-" '(setq v1 (point)) str
       '(save-excursion
         (while (search-backward ":" v1 t)
-          (replace-match " arg][ +-" t t)))
+          (replace-match " ARG] [+-" t t)))
       (if (eq (preceding-char) ?-) -5)
-      "][ --] args\"" \n
+      "] [--] ARGS...\"" \n
       "exit 2" \n
       < < "esac" \n
       < "done" \n