summaryrefslogtreecommitdiff
path: root/usr.bin/spell/spell.ksh
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-07-06 07:08:06 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-07-06 07:08:06 +0000
commit4b026ad3f670278385d2f0f1ff53f4f6298c9085 (patch)
tree070eab1cae694e5e4b701c6781671f84185b5ba7 /usr.bin/spell/spell.ksh
parent5f4d6a5491c413ab982aeffa090e8ecf22230109 (diff)
sync spell usage() w/ man page synopsis;
ok deraadt@
Diffstat (limited to 'usr.bin/spell/spell.ksh')
-rw-r--r--usr.bin/spell/spell.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/spell/spell.ksh b/usr.bin/spell/spell.ksh
index 00d571356ce..27b953208eb 100644
--- a/usr.bin/spell/spell.ksh
+++ b/usr.bin/spell/spell.ksh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: spell.ksh,v 1.8 2004/02/02 22:36:50 fgsch Exp $
+# $OpenBSD: spell.ksh,v 1.9 2005/07/06 07:08:05 jmc Exp $
#
# Copyright (c) 2001, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
#
@@ -35,7 +35,7 @@ DEROFF="deroff -w"
HISTFILE=
TMP=`mktemp /tmp/spell.XXXXXXXX` || exit 1
VTMP=
-USAGE="usage: spell [-biltvx] [-d list] [-h spellhist] [-s stop] [+extra_list] [file ...]"
+USAGE="usage: spell [-biltvx] [-d list] [-h spellhist] [-m a | e | l | m | s]\n\t[-s stop] [+extra_list] [file ...]"
set -o posix # set POSIX mode to prevent +foo in getopts
OPTIND=1 # force getopts to reset itself