diff options
| -rw-r--r-- | lisp/progmodes/sh-script.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 0a7b387d06f..51923ee2795 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1297,12 +1297,12 @@ option followed by a colon `:' if the option accepts an argument." | |||
| 1297 | ";;" \n) | 1297 | ";;" \n) |
| 1298 | < "*)" \n | 1298 | < "*)" \n |
| 1299 | > "echo" " \"usage: " "`basename $0`" | 1299 | > "echo" " \"usage: " "`basename $0`" |
| 1300 | "[ +-" '(setq v1 (point)) str | 1300 | " [+-" '(setq v1 (point)) str |
| 1301 | '(save-excursion | 1301 | '(save-excursion |
| 1302 | (while (search-backward ":" v1 t) | 1302 | (while (search-backward ":" v1 t) |
| 1303 | (replace-match " arg][ +-" t t))) | 1303 | (replace-match " ARG] [+-" t t))) |
| 1304 | (if (eq (preceding-char) ?-) -5) | 1304 | (if (eq (preceding-char) ?-) -5) |
| 1305 | "][ --] args\"" \n | 1305 | "] [--] ARGS...\"" \n |
| 1306 | "exit 2" \n | 1306 | "exit 2" \n |
| 1307 | < < "esac" \n | 1307 | < < "esac" \n |
| 1308 | < "done" \n | 1308 | < "done" \n |