Mercurial > emacs
changeset 15027:30c4f64f3579
(sh-while-getopts): Punctuate help message better.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 15 Apr 1996 21:17:59 +0000 |
parents | 8c1f6839aff9 |
children | 4572159ddf04 |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Mon Apr 15 21:02:54 1996 +0000 +++ b/lisp/progmodes/sh-script.el Mon Apr 15 21:17:59 1996 +0000 @@ -1297,12 +1297,12 @@ ";;" \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