diff options
-rw-r--r-- | usr.bin/vi/docs/help | 2 | ||||
-rw-r--r-- | usr.bin/vi/ex/ex_cmd.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/docs/help b/usr.bin/vi/docs/help index 81df84aa135..a7b5d748e04 100644 --- a/usr.bin/vi/docs/help +++ b/usr.bin/vi/docs/help @@ -129,7 +129,7 @@ EX COMMANDS: ^D: scroll lines !: filter lines through commands or run commands #: display numbered lines - &: repeat the last subsitution + &: repeat the last substitution *: execute a buffer <: shift lines left =: display line number diff --git a/usr.bin/vi/ex/ex_cmd.c b/usr.bin/vi/ex/ex_cmd.c index d4a9b491a48..74989c69112 100644 --- a/usr.bin/vi/ex/ex_cmd.c +++ b/usr.bin/vi/ex/ex_cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ex_cmd.c,v 1.6 2009/10/27 23:59:47 deraadt Exp $ */ +/* $OpenBSD: ex_cmd.c,v 1.7 2010/05/29 06:40:00 jmc Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -66,7 +66,7 @@ EXCMDLIST const cmds[] = { {"&", ex_subagain, E_ADDR2, "s", "[line [,line]] & [cgr] [count] [#lp]", - "repeat the last subsitution"}, + "repeat the last substitution"}, /* C_STAR */ {"*", ex_at, 0, "b", |