summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sh/options.c2
-rwxr-xr-xetc/rc.d/wscons2
-rw-r--r--etc/rc.sendmail2
-rw-r--r--etc/rc.subr2
-rw-r--r--games/adventure/setup.c2
-rw-r--r--games/atc/main.c2
-rw-r--r--games/backgammon/common_source/subs.c2
-rw-r--r--games/bs/bs.c2
-rw-r--r--games/canfield/cfscores/cfscores.c2
-rw-r--r--lib/libc_r/test/guard_b.c2
-rw-r--r--lib/libedit/makelist2
-rw-r--r--lib/libkse/test/guard_b.c2
-rw-r--r--lib/libpthread/test/guard_b.c2
-rw-r--r--libexec/pppoed/pppoed.c2
-rw-r--r--release/picobsd/tinyware/msh/sh3.c2
-rw-r--r--release/scripts/driver-copy2.pl2
-rw-r--r--release/scripts/driver-remove.pl2
-rw-r--r--sbin/fsck/fsck.c2
-rw-r--r--sbin/fsck_ffs/main.c2
-rw-r--r--sbin/fsck_ifs/main.c2
-rw-r--r--sbin/fsck_msdosfs/main.c2
-rw-r--r--sbin/mdconfig/mdconfig.c2
-rw-r--r--sbin/mdmfs/mdmfs.c4
-rw-r--r--sbin/vinum/commands.c22
-rw-r--r--sbin/vinum/list.c2
-rw-r--r--share/examples/isdn/contrib/answer.c2
-rw-r--r--share/examples/isdn/contrib/isdnctl2
-rw-r--r--share/examples/netgraph/ether.bridge2
-rw-r--r--sys/kern/makesyscalls.sh2
-rw-r--r--tools/diag/localeck/localeck.c2
-rw-r--r--tools/regression/geom/ConfCmp/ConfCmp.c2
-rw-r--r--tools/regression/p1003_1b/yield.c2
-rw-r--r--usr.bin/doscmd/config.c26
-rw-r--r--usr.bin/fetch/fetch.c2
-rw-r--r--usr.bin/fmt/fmt.c2
-rw-r--r--usr.bin/hesinfo/hesinfo.c3
-rw-r--r--usr.bin/mklocale/yacc.y2
-rw-r--r--usr.bin/objformat/objformat.c2
-rw-r--r--usr.bin/passwd/passwd.c2
-rw-r--r--usr.bin/rpcinfo/rpcinfo.c2
-rw-r--r--usr.bin/sockstat/sockstat.pl2
-rw-r--r--usr.bin/telnet/commands.c2
-rw-r--r--usr.bin/telnet/main.c2
-rw-r--r--usr.bin/usbhidctl/usbhid.c2
-rw-r--r--usr.bin/xlint/lint1/main1.c2
-rw-r--r--usr.bin/xlint/xlint/xlint.c2
-rw-r--r--usr.sbin/burncd/burncd.c2
-rw-r--r--usr.sbin/crunch/crunchide/crunchide.c2
-rw-r--r--usr.sbin/ctm/ctm_rmail/options.h2
-rw-r--r--usr.sbin/digictl/digictl.c2
-rw-r--r--usr.sbin/jail/jail.c2
-rw-r--r--usr.sbin/kldxref/kldxref.c2
-rw-r--r--usr.sbin/lpr/lpc/cmds.c6
-rw-r--r--usr.sbin/ngctl/main.c2
-rw-r--r--usr.sbin/pccard/pccardc/beep.c2
-rw-r--r--usr.sbin/pccard/pccardc/power.c2
-rw-r--r--usr.sbin/pcvt/userkeys/vt220keys.c2
-rw-r--r--usr.sbin/ppp/command.c4
-rw-r--r--usr.sbin/ppp/main.c2
-rw-r--r--usr.sbin/ppp/nat_cmd.c10
-rw-r--r--usr.sbin/ppp/systems.c2
-rw-r--r--usr.sbin/pppstats/pppstats.c2
-rw-r--r--usr.sbin/rip6query/rip6query.c2
-rw-r--r--usr.sbin/usbd/usbd.c2
-rw-r--r--usr.sbin/usbdevs/usbdevs.c2
65 files changed, 95 insertions, 96 deletions
diff --git a/bin/sh/options.c b/bin/sh/options.c
index 5a3ba34..dbcb67e 100644
--- a/bin/sh/options.c
+++ b/bin/sh/options.c
@@ -373,7 +373,7 @@ getoptscmd(int argc, char **argv)
char **optbase = NULL;
if (argc < 3)
- error("Usage: getopts optstring var [arg]");
+ error("usage: getopts optstring var [arg]");
else if (argc == 3)
optbase = shellparam.p;
else
diff --git a/etc/rc.d/wscons b/etc/rc.d/wscons
index a8a7398..ecbc48a 100755
--- a/etc/rc.d/wscons
+++ b/etc/rc.d/wscons
@@ -18,7 +18,7 @@ wscons_start()
wscfg=/usr/sbin/wsconscfg
wsfld=/usr/sbin/wsfontload
config=/etc/wscons.conf
- usage="Usage: wsconfig [-n] [-f configfile] [-font fontpgm] [-screen screenpgm]"
+ usage="usage: wsconfig [-n] [-f configfile] [-font fontpgm] [-screen screenpgm]"
DOIT=
while [ $# -gt 0 ]; do
diff --git a/etc/rc.sendmail b/etc/rc.sendmail
index 4f8a2ca..74dde31 100644
--- a/etc/rc.sendmail
+++ b/etc/rc.sendmail
@@ -184,7 +184,7 @@ restart-mspq)
;;
*)
- echo "Usage: `basename $0` {start|stop|restart}" >&2
+ echo "usage: `basename $0` {start|stop|restart}" >&2
echo " `basename $0` {start-mta|stop-mta|restart-mta}" >&2
echo " `basename $0` {start-mspq|stop-mspq|restart-mspq}" >&2
exit 64
diff --git a/etc/rc.subr b/etc/rc.subr
index 5292a32..f300760 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -550,7 +550,7 @@ load_rc_config()
#
rc_usage()
{
- echo -n 1>&2 "Usage: $0 [fast|force]("
+ echo -n 1>&2 "usage: $0 [fast|force]("
_sep=
for _elem in $*; do
diff --git a/games/adventure/setup.c b/games/adventure/setup.c
index f68e1c1..587de58 100644
--- a/games/adventure/setup.c
+++ b/games/adventure/setup.c
@@ -66,7 +66,7 @@ static const char rcsid[] =
#include <err.h>
#include "hdr.h" /* SEED lives in there; keep them coordinated. */
-#define USAGE "Usage: setup file > data.c (file is typically glorkz)"
+#define USAGE "usage: setup file > data.c (file is typically glorkz)"
#define YES 1
#define NO 0
diff --git a/games/atc/main.c b/games/atc/main.c
index 6319a7a..6a10ca6 100644
--- a/games/atc/main.c
+++ b/games/atc/main.c
@@ -130,7 +130,7 @@ main(ac, av)
if (f_usage)
fprintf(stderr,
- "Usage: %s -[u?lstp] [-[gf] game_name] [-r random seed]\n",
+ "usage: %s -[u?lstp] [-[gf] game_name] [-r random seed]\n",
name);
if (f_showscore)
log_score(1);
diff --git a/games/backgammon/common_source/subs.c b/games/backgammon/common_source/subs.c
index 15af008..3a1c599 100644
--- a/games/backgammon/common_source/subs.c
+++ b/games/backgammon/common_source/subs.c
@@ -52,7 +52,7 @@ static const char plwhite[] = "Player is white, computer is red.";
static const char nocomp[] = "(No computer play.)";
const char *const descr[] = {
- "Usage: backgammon [-h n r w b pr pw pb tterm sfile]\n",
+ "usage: backgammon [-h n r w b pr pw pb tterm sfile]\n",
"\t-h\tgets this list\n\t-n\tdon't ask for rules or instructions",
"\t-r\tplayer is red (implies -n)\n\t-w\tplayer is white (implies -n)",
"\t-b\ttwo players, red and white (implies -n)",
diff --git a/games/bs/bs.c b/games/bs/bs.c
index 5ccaa3e..4a16379 100644
--- a/games/bs/bs.c
+++ b/games/bs/bs.c
@@ -1124,7 +1124,7 @@ char *op[];
{
default:
case '?':
- (void) fprintf(stderr, "Usage: battle [-s | -b] [-c]\n");
+ (void) fprintf(stderr, "usage: battle [-s | -b] [-c]\n");
(void) fprintf(stderr, "\tWhere the options are:\n");
(void) fprintf(stderr, "\t-s : play a salvo game\n");
(void) fprintf(stderr, "\t-b : play a blitz game\n");
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index de07283..c13b905 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -76,7 +76,7 @@ main(argc, argv)
int uid;
if (argc > 2) {
- printf("Usage: cfscores [user]\n");
+ printf("usage: cfscores [user]\n");
exit(1);
}
dbfd = open(_PATH_SCORE, O_RDONLY);
diff --git a/lib/libc_r/test/guard_b.c b/lib/libc_r/test/guard_b.c
index e2f1a3a..42bf4ed 100644
--- a/lib/libc_r/test/guard_b.c
+++ b/lib/libc_r/test/guard_b.c
@@ -92,7 +92,7 @@ main(int argc, char **argv)
struct args args;
if (argc != 3) {
- fprintf(stderr, "Usage: guard_b <stacksize> <guardsize>\n");
+ fprintf(stderr, "usage: guard_b <stacksize> <guardsize>\n");
exit(1);
}
fprintf(stderr, "Test begin\n");
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index 8ab0588..8c55523 100644
--- a/lib/libedit/makelist
+++ b/lib/libedit/makelist
@@ -41,7 +41,7 @@
# makelist.sh: Automatically generate header files...
AWK=/usr/bin/awk
-USAGE="Usage: $0 -h|-e|-fc|-fh|-bc|-bh|-m <filenames>"
+USAGE="usage: $0 -h|-e|-fc|-fh|-bc|-bh|-m <filenames>"
if [ "x$1" = "x" ]
then
diff --git a/lib/libkse/test/guard_b.c b/lib/libkse/test/guard_b.c
index e2f1a3a..42bf4ed 100644
--- a/lib/libkse/test/guard_b.c
+++ b/lib/libkse/test/guard_b.c
@@ -92,7 +92,7 @@ main(int argc, char **argv)
struct args args;
if (argc != 3) {
- fprintf(stderr, "Usage: guard_b <stacksize> <guardsize>\n");
+ fprintf(stderr, "usage: guard_b <stacksize> <guardsize>\n");
exit(1);
}
fprintf(stderr, "Test begin\n");
diff --git a/lib/libpthread/test/guard_b.c b/lib/libpthread/test/guard_b.c
index e2f1a3a..42bf4ed 100644
--- a/lib/libpthread/test/guard_b.c
+++ b/lib/libpthread/test/guard_b.c
@@ -92,7 +92,7 @@ main(int argc, char **argv)
struct args args;
if (argc != 3) {
- fprintf(stderr, "Usage: guard_b <stacksize> <guardsize>\n");
+ fprintf(stderr, "usage: guard_b <stacksize> <guardsize>\n");
exit(1);
}
fprintf(stderr, "Test begin\n");
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index 63f7325..55616f1 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -71,7 +71,7 @@ static int ReceivedSignal;
static int
usage(const char *prog)
{
- fprintf(stderr, "Usage: %s [-Fd] [-P pidfile] [-a name] [-e exec | -l label]"
+ fprintf(stderr, "usage: %s [-Fd] [-P pidfile] [-a name] [-e exec | -l label]"
" [-p provider] interface\n", prog);
return EX_USAGE;
}
diff --git a/release/picobsd/tinyware/msh/sh3.c b/release/picobsd/tinyware/msh/sh3.c
index 5959f27..9aa61d2 100644
--- a/release/picobsd/tinyware/msh/sh3.c
+++ b/release/picobsd/tinyware/msh/sh3.c
@@ -818,7 +818,7 @@ struct op *t;
register int nl = 0;
if (t->words[1] == NULL) {
- err("Usage: read name ...");
+ err("usage: read name ...");
return(1);
}
for (wp = t->words+1; *wp; wp++) {
diff --git a/release/scripts/driver-copy2.pl b/release/scripts/driver-copy2.pl
index 541e3e0..6c4dfe6 100644
--- a/release/scripts/driver-copy2.pl
+++ b/release/scripts/driver-copy2.pl
@@ -28,7 +28,7 @@
#
if ($#ARGV != 2) {
- print STDERR "Usage: driver-copy.pl config_file src_ko_dir dst_ko_dir\n";
+ print STDERR "usage: driver-copy.pl config_file src_ko_dir dst_ko_dir\n";
exit 1;
}
diff --git a/release/scripts/driver-remove.pl b/release/scripts/driver-remove.pl
index 2ff5a88..aa8ec1c 100644
--- a/release/scripts/driver-remove.pl
+++ b/release/scripts/driver-remove.pl
@@ -28,7 +28,7 @@
#
if ($#ARGV != 1) {
- print STDERR "Usage: driver-remove.pl config_file BOOTMFS\n";
+ print STDERR "usage: driver-remove.pl config_file BOOTMFS\n";
exit 1;
}
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
index 6b913bc..fdc3ae0 100644
--- a/sbin/fsck/fsck.c
+++ b/sbin/fsck/fsck.c
@@ -582,7 +582,7 @@ usage(void)
static const char common[] =
"[-BFdpvlyn] [-T fstype:fsoptions] [-t fstype]";
- (void)fprintf(stderr, "Usage: %s %s [special|node]...\n",
+ (void)fprintf(stderr, "usage: %s %s [special|node]...\n",
getprogname(), common);
exit(1);
}
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index 55e25c3..eaf90dd 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -498,7 +498,7 @@ static void
usage(void)
{
(void) fprintf(stderr,
- "Usage: %s [-BFpfny] [-b block] [-c level] [-m mode] "
+ "usage: %s [-BFpfny] [-b block] [-c level] [-m mode] "
"filesystem ...\n",
getprogname());
exit(1);
diff --git a/sbin/fsck_ifs/main.c b/sbin/fsck_ifs/main.c
index 356d90f..52263b9 100644
--- a/sbin/fsck_ifs/main.c
+++ b/sbin/fsck_ifs/main.c
@@ -398,7 +398,7 @@ static void
usage(void)
{
(void) fprintf(stderr,
- "Usage: %s [-dfnpy] [-B be|le] [-b block] [-c level] [-m mode] "
+ "usage: %s [-dfnpy] [-B be|le] [-b block] [-c level] [-m mode] "
"filesystem ...\n",
getprogname());
exit(1);
diff --git a/sbin/fsck_msdosfs/main.c b/sbin/fsck_msdosfs/main.c
index 110b360..cbfe6da 100644
--- a/sbin/fsck_msdosfs/main.c
+++ b/sbin/fsck_msdosfs/main.c
@@ -59,7 +59,7 @@ static void usage(void) __dead2;
static void
usage()
{
- errexit("Usage: fsck_msdos [-fnpy] filesystem ... \n");
+ errexit("usage: fsck_msdos [-fnpy] filesystem ... \n");
}
int
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c
index 8a6019f..a730332 100644
--- a/sbin/mdconfig/mdconfig.c
+++ b/sbin/mdconfig/mdconfig.c
@@ -36,7 +36,7 @@ enum {UNSET, ATTACH, DETACH, LIST} action = UNSET;
void
usage()
{
- fprintf(stderr, "Usage:\n");
+ fprintf(stderr, "usage:\n");
fprintf(stderr, "\tmdconfig -a -t type [-o [no]option]... [ -f file] [-s size] [-u unit]\n");
fprintf(stderr, "\tmdconfig -d -u unit\n");
fprintf(stderr, "\tmdconfig -l [-u unit]\n");
diff --git a/sbin/mdmfs/mdmfs.c b/sbin/mdmfs/mdmfs.c
index 9c59db7..53e772e 100644
--- a/sbin/mdmfs/mdmfs.c
+++ b/sbin/mdmfs/mdmfs.c
@@ -676,13 +676,13 @@ usage(void)
name = "mdmfs";
if (!compat)
fprintf(stderr,
-"Usage: %s [-DLMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n"
+"usage: %s [-DLMNSUX] [-a maxcontig [-b block-size] [-c cylinders]\n"
"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n"
"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n"
"\t[-o mount-options] [-p permissions] [-s size] [-w user:group]\n"
"\tmd-device mount-point\n", name);
fprintf(stderr,
-"Usage: %s -C [-NU] [-a maxcontig] [-b block-size] [-c cylinders]\n"
+"usage: %s -C [-NU] [-a maxcontig] [-b block-size] [-c cylinders]\n"
"\t[-d rotdelay] [-e maxbpg] [-F file] [-f frag-size] [-i bytes]\n"
"\t[-m percent-free] [-n rotational-positions] [-O optimization]\n"
"\t[-o mount-options] [-s size] md-device mount-point\n", name);
diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c
index ff8acd8..011df59 100644
--- a/sbin/vinum/commands.c
+++ b/sbin/vinum/commands.c
@@ -173,7 +173,7 @@ vinum_read(int argc, char *argv[], char *arg0[])
reply = (struct _ioctl_reply *) &buffer;
if (argc < 1) { /* wrong arg count */
- fprintf(stderr, "Usage: read drive [drive ...]\n");
+ fprintf(stderr, "usage: read drive [drive ...]\n");
return;
}
strcpy(buffer, "read ");
@@ -241,7 +241,7 @@ vinum_rm(int argc, char *argv[], char *arg0[])
struct vinum_ioctl_msg *message = (struct vinum_ioctl_msg *) &reply;
if (argc == 0) /* start everything */
- fprintf(stderr, "Usage: rm object [object...]\n");
+ fprintf(stderr, "usage: rm object [object...]\n");
else { /* start specified objects */
int index;
enum objecttype type;
@@ -933,7 +933,7 @@ vinum_attach(int argc, char *argv[], char *argv0[])
if ((argc < 2)
|| (argc > 4)) {
fprintf(stderr,
- "Usage: \tattach <subdisk> <plex> [rename] [<plexoffset>]\n"
+ "usage: \tattach <subdisk> <plex> [rename] [<plexoffset>]\n"
"\tattach <plex> <volume> [rename]\n");
return;
}
@@ -1055,7 +1055,7 @@ vinum_detach(int argc, char *argv[], char *argv0[])
if ((argc < 1)
|| (argc > 2)) {
fprintf(stderr,
- "Usage: \tdetach <subdisk> [rename]\n"
+ "usage: \tdetach <subdisk> [rename]\n"
"\tdetach <plex> [rename]\n");
return;
}
@@ -1196,7 +1196,7 @@ void
vinum_rename(int argc, char *argv[], char *argv0[])
{
if (argc != 2) {
- fprintf(stderr, "Usage: \trename <object> <new name>\n");
+ fprintf(stderr, "usage: \trename <object> <new name>\n");
return;
}
if (ioctl(superdev, VINUM_GETCONFIG, &vinum_conf) < 0) {
@@ -1225,7 +1225,7 @@ vinum_mv(int argc, char *argv[], char *argv0[])
struct vinum_ioctl_msg *msg = (struct vinum_ioctl_msg *) &reply;
if (argc < 2) {
- fprintf(stderr, "Usage: \tmove <dest> <src> ...\n");
+ fprintf(stderr, "usage: \tmove <dest> <src> ...\n");
return;
}
/* Get current config */
@@ -1433,7 +1433,7 @@ vinum_setdaemon(int argc, char *argv[], char *argv0[])
break;
default:
- fprintf(stderr, "Usage: \tsetdaemon [<bitmask>]\n");
+ fprintf(stderr, "usage: \tsetdaemon [<bitmask>]\n");
}
checkupdates(); /* make sure we're updating */
}
@@ -1445,7 +1445,7 @@ vinum_saveconfig(int argc, char *argv[], char *argv0[])
int ioctltype;
if (argc != 0) {
- printf("Usage: saveconfig\n");
+ printf("usage: saveconfig\n");
return;
}
ioctltype = 1; /* user saveconfig */
@@ -2248,7 +2248,7 @@ vinum_readpol(int argc, char *argv[], char *argv0[])
int plexno;
if (argc == 0) { /* start everything */
- fprintf(stderr, "Usage: readpol <volume> <plex>|round\n");
+ fprintf(stderr, "usage: readpol <volume> <plex>|round\n");
return;
}
object = find_object(argv[1], &type); /* look for it */
@@ -2360,7 +2360,7 @@ vinum_checkparity(int argc, char *argv[], char *argv0[])
{
Verbose = vflag; /* accept -v for verbose */
if (argc == 0) /* no parameters? */
- fprintf(stderr, "Usage: checkparity object [object...]\n");
+ fprintf(stderr, "usage: checkparity object [object...]\n");
else
parityops(argc, argv, checkparity);
}
@@ -2369,7 +2369,7 @@ void
vinum_rebuildparity(int argc, char *argv[], char *argv0[])
{
if (argc == 0) /* no parameters? */
- fprintf(stderr, "Usage: rebuildparity object [object...]\n");
+ fprintf(stderr, "usage: rebuildparity object [object...]\n");
else
parityops(argc, argv, vflag ? rebuildandcheckparity : rebuildparity);
}
diff --git a/sbin/vinum/list.c b/sbin/vinum/list.c
index 24dc35e..d7b4ff8 100644
--- a/sbin/vinum/list.c
+++ b/sbin/vinum/list.c
@@ -1031,7 +1031,7 @@ vinum_printconfig(int argc, char *argv[], char *argv0[])
FILE *of;
if (argc > 1) {
- fprintf(stderr, "Usage: \tprintconfig [<outfile>]\n");
+ fprintf(stderr, "usage: \tprintconfig [<outfile>]\n");
return;
} else if (argc == 1)
of = fopen(argv[0], "w");
diff --git a/share/examples/isdn/contrib/answer.c b/share/examples/isdn/contrib/answer.c
index da19aa9..aac431f 100644
--- a/share/examples/isdn/contrib/answer.c
+++ b/share/examples/isdn/contrib/answer.c
@@ -74,7 +74,7 @@ void readFromPhone (char *path)
void usage (void)
{
- fprintf(stderr,"Usage: answer -D device -d destination -s source\n");
+ fprintf(stderr,"usage: answer -D device -d destination -s source\n");
exit(1);
}
diff --git a/share/examples/isdn/contrib/isdnctl b/share/examples/isdn/contrib/isdnctl
index f9de44f..57fab45 100644
--- a/share/examples/isdn/contrib/isdnctl
+++ b/share/examples/isdn/contrib/isdnctl
@@ -24,7 +24,7 @@
usage () {
- echo "Usage: $0 [-i interface] [-f /path/to/users.file] [up|down|show]"
+ echo "usage: $0 [-i interface] [-f /path/to/users.file] [up|down|show]"
}
# Defaults
diff --git a/share/examples/netgraph/ether.bridge b/share/examples/netgraph/ether.bridge
index acc4a4d..273e4c4 100644
--- a/share/examples/netgraph/ether.bridge
+++ b/share/examples/netgraph/ether.bridge
@@ -167,7 +167,7 @@ case $1 in
bridge_stop
;;
*)
- echo "Usage: ether.bridge [ start | stop | stats ]"
+ echo "usage: ether.bridge [ start | stop | stats ]"
exit 1
esac
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 3277c26..f4a0212 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -31,7 +31,7 @@ trap "rm $sysdcl $syscompat $syscompatdcl $sysent $sysinc $sysarg" 0
touch $sysdcl $syscompat $syscompatdcl $sysent $sysinc $sysarg
case $# in
- 0) echo "Usage: $0 input-file <config-file>" 1>&2
+ 0) echo "usage: $0 input-file <config-file>" 1>&2
exit 1
;;
esac
diff --git a/tools/diag/localeck/localeck.c b/tools/diag/localeck/localeck.c
index b638f00..4ce7e45 100644
--- a/tools/diag/localeck/localeck.c
+++ b/tools/diag/localeck/localeck.c
@@ -54,7 +54,7 @@ main(int argc, char *argv[])
const char *localename;
if (argc != 2) {
- (void)fprintf(stderr, "Usage: localeck <locale_name>\n");
+ (void)fprintf(stderr, "usage: localeck <locale_name>\n");
exit(1);
}
diff --git a/tools/regression/geom/ConfCmp/ConfCmp.c b/tools/regression/geom/ConfCmp/ConfCmp.c
index e224db9..dd129ba 100644
--- a/tools/regression/geom/ConfCmp/ConfCmp.c
+++ b/tools/regression/geom/ConfCmp/ConfCmp.c
@@ -308,7 +308,7 @@ main(int argc, char **argv)
setbuf(stdout, NULL);
setbuf(stderr, NULL);
if (argc != 3)
- errx(1, "Usage: %s file1 file2", argv[0]);
+ errx(1, "usage: %s file1 file2", argv[0]);
t1 = dofile(argv[1]);
if (t1 == NULL)
diff --git a/tools/regression/p1003_1b/yield.c b/tools/regression/p1003_1b/yield.c
index b664513..ac31a99 100644
--- a/tools/regression/p1003_1b/yield.c
+++ b/tools/regression/p1003_1b/yield.c
@@ -82,7 +82,7 @@ int yield(int argc, char *argv[])
n = nslaves = 10;
else if (argc != 2) {
- fprintf(stderr, "Usage: prog [n_instances]\n");
+ fprintf(stderr, "usage: prog [n_instances]\n");
exit(-1);
}
else
diff --git a/usr.bin/doscmd/config.c b/usr.bin/doscmd/config.c
index 0c3b2f0..bb43a1f 100644
--- a/usr.bin/doscmd/config.c
+++ b/usr.bin/doscmd/config.c
@@ -106,7 +106,7 @@ read_config(FILE *fp)
int ro = 0;
if (ac < 2) {
- fprintf(stderr, "Usage: assign device ...\n");
+ fprintf(stderr, "usage: assign device ...\n");
quit(1);
}
if (av[2] && !strcasecmp(av[2], "-ro")) {
@@ -119,7 +119,7 @@ read_config(FILE *fp)
if (!strncasecmp(av[1], "lpt", 3)) {
if (av[1][3] < '1' || av[1][3] > '4'
|| av[1][4] != ':' || ac < 3) {
- fprintf(stderr, "Usage: assign lptn: [direct] lpr-name [ time-out]\n");
+ fprintf(stderr, "usage: assign lptn: [direct] lpr-name [ time-out]\n");
quit(1);
}
printer = av[1][3] - '1';
@@ -136,7 +136,7 @@ read_config(FILE *fp)
}
} else if (!strncasecmp(av[1], "flop", 4)) {
if (ac != 4) {
- fprintf(stderr, "Usage: assign flop [-ro] file type\n");
+ fprintf(stderr, "usage: assign flop [-ro] file type\n");
quit(1);
}
@@ -161,7 +161,7 @@ init_soft:
init_hard:
switch (ac) {
default:
- fprintf(stderr, "Usage: assign [A-Z]: [-ro] directory\n"
+ fprintf(stderr, "usage: assign [A-Z]: [-ro] directory\n"
" assign hard [-ro] file type [boot_sector]\n"
" assign hard [-ro] file cylinders heads sectors/track [boot_sector]\n");
quit(1);
@@ -185,7 +185,7 @@ init_hard:
}
} else if (av[1][1] == ':') {
if (av[1][2] || !isalpha(av[1][0])) {
- fprintf(stderr, "Usage: assign [A-Z]: ...\n");
+ fprintf(stderr, "usage: assign [A-Z]: ...\n");
quit(1);
}
drive = drlton(av[1][0]);
@@ -204,31 +204,31 @@ init_hard:
unsigned char irq;
if ((ac != 5) || (!isdigit(av[1][3]))) {
- fprintf(stderr, "Usage: assign com[1-4] path addr irq\n");
+ fprintf(stderr, "usage: assign com[1-4] path addr irq\n");
quit(1);
}
port = atoi(&av[1][3]) - 1;
if ((port < 0) || (port > (N_COMS_MAX - 1))) {
- fprintf(stderr, "Usage: assign com[1-4] path addr irq\n");
+ fprintf(stderr, "usage: assign com[1-4] path addr irq\n");
quit(1);
}
errno = 0;
addr = (int)strtol(av[3], '\0', 0);
/* XXX DEBUG ISA-specific */
if ((errno != 0) || (addr > MAXPORT)) {
- fprintf(stderr, "Usage: assign com[1-4] path addr irq\n");
+ fprintf(stderr, "usage: assign com[1-4] path addr irq\n");
quit(1);
}
errno = 0;
irq = (unsigned char)strtol(av[4], '\0', 0);
/* XXX DEBUG ISA-specific */
if ((errno != 0) || (irq < 2) || (irq > 7)) {
- fprintf(stderr, "Usage: assign com[1-4] path addr irq[2-7]\n");
+ fprintf(stderr, "usage: assign com[1-4] path addr irq[2-7]\n");
quit(1);
}
init_com(port, av[2], addr, irq);
} else {
- fprintf(stderr, "Usage: assign flop ...\n");
+ fprintf(stderr, "usage: assign flop ...\n");
fprintf(stderr, " assign hard ...\n");
fprintf(stderr, " assign [A-Z]: ...\n");
fprintf(stderr, " assign comX ...\n");
@@ -236,7 +236,7 @@ init_hard:
}
} else if (!strcasecmp(av[0], "boot")) {
if (ac != 2 || av[1][2] || !isalpha(av[1][0])) {
- fprintf(stderr, "Usage: boot [A: | C:]\n");
+ fprintf(stderr, "usage: boot [A: | C:]\n");
quit(1);
}
bootdrive = drlton(av[1][0]);
@@ -248,7 +248,7 @@ init_hard:
int p, c;
if (ac < 2 || ac > 3 || !isdigit(av[1][0]) ||
(ac == 3 && !isdigit(av[2][0]))) {
- fprintf(stderr, "Usage: portmap port [count]\n");
+ fprintf(stderr, "usage: portmap port [count]\n");
quit(1);
}
p = strtol(av[1], 0, 0);
@@ -262,7 +262,7 @@ init_hard:
} else if (!strcasecmp(av[0], "setver")) {
int v;
if (ac != 3 || !(v = strtol(av[2], 0, 0))) {
- fprintf(stderr, "Usage: setver command version\n");
+ fprintf(stderr, "usage: setver command version\n");
quit(1);
}
setver(av[1], v);
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index ed49a8d..d5791b7 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -621,7 +621,7 @@ static void
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n",
- "Usage: fetch [-146AFMPRUadlmnpqrsv] [-o outputfile] [-S bytes]",
+ "usage: fetch [-146AFMPRUadlmnpqrsv] [-o outputfile] [-S bytes]",
" [-B bytes] [-T seconds] [-w seconds]",
" [-h host -f file [-c dir] | URL ...]");
}
diff --git a/usr.bin/fmt/fmt.c b/usr.bin/fmt/fmt.c
index f7ea0ab..6215cfa 100644
--- a/usr.bin/fmt/fmt.c
+++ b/usr.bin/fmt/fmt.c
@@ -308,7 +308,7 @@ main(int argc, char *argv[]) {
continue;
case 'h': default:
fprintf(stderr,
-"Usage: fmt [-cmps] [-d chars] [-l num] [-t num]\n"
+"usage: fmt [-cmps] [-d chars] [-l num] [-t num]\n"
" [-w width | -width | goal [maximum]] [file ...]\n"
"Options: -c center each line instead of formatting\n"
" -d <chars> double-space after <chars> at line end\n"
diff --git a/usr.bin/hesinfo/hesinfo.c b/usr.bin/hesinfo/hesinfo.c
index 206f28b..717b915 100644
--- a/usr.bin/hesinfo/hesinfo.c
+++ b/usr.bin/hesinfo/hesinfo.c
@@ -33,7 +33,6 @@ static const char rcsid[] =
#include <unistd.h>
int main(int, char **);
-extern char *__progname;
int
main(argc, argv)
@@ -58,7 +57,7 @@ main(argc, argv)
}
}
if (argc - optind != 2 || errflg) {
- fprintf(stderr, "Usage: %s [-bl] name type\n", __progname);
+ fprintf(stderr, "usage: hesinfo [-bl] name type\n");
fprintf(stderr, "\t-l selects long format\n");
fprintf(stderr, "\t-b also does hes_to_bind conversion\n");
exit(2);
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index 51378f1..3001490 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -211,7 +211,7 @@ main(ac, av)
break;
default:
usage:
- fprintf(stderr, "Usage: mklocale [-d] [-o output] [source]\n");
+ fprintf(stderr, "usage: mklocale [-d] [-o output] [source]\n");
exit(1);
}
}
diff --git a/usr.bin/objformat/objformat.c b/usr.bin/objformat/objformat.c
index 3e9e410..1b3e35d 100644
--- a/usr.bin/objformat/objformat.c
+++ b/usr.bin/objformat/objformat.c
@@ -52,7 +52,7 @@ main(int argc, char **argv)
if (strcmp(cmd, "objformat") == 0) {
if (argc != 1) {
- fprintf(stderr, "Usage: objformat\n");
+ fprintf(stderr, "usage: objformat\n");
exit(1);
}
printf("%s\n", objformat);
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c
index 28119dd..5648f1a 100644
--- a/usr.bin/passwd/passwd.c
+++ b/usr.bin/passwd/passwd.c
@@ -57,7 +57,7 @@ static char *yp_host;
static void
usage(void)
{
- fprintf(stderr, "Usage: passwd [-ly] [-d domain] [-h host] [user]\n");
+ fprintf(stderr, "usage: passwd [-ly] [-d domain] [-h host] [user]\n");
exit(1);
}
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c
index 6ae9d4f..f184fdc 100644
--- a/usr.bin/rpcinfo/rpcinfo.c
+++ b/usr.bin/rpcinfo/rpcinfo.c
@@ -1499,7 +1499,7 @@ progping(char *netid, int argc, char **argv)
static void
usage()
{
- fprintf(stderr, "Usage: rpcinfo [-m | -s] [host]\n");
+ fprintf(stderr, "usage: rpcinfo [-m | -s] [host]\n");
#ifdef PORTMAP
fprintf(stderr, " rpcinfo -p [host]\n");
#endif
diff --git a/usr.bin/sockstat/sockstat.pl b/usr.bin/sockstat/sockstat.pl
index 16653c5..6d1ac0f 100644
--- a/usr.bin/sockstat/sockstat.pl
+++ b/usr.bin/sockstat/sockstat.pl
@@ -211,7 +211,7 @@ sub print_unix($$) {
# Print usage message and exit
#
sub usage() {
- print(STDERR "Usage: sockstat [-46clu] [-p ports]\n");
+ print(STDERR "usage: sockstat [-46clu] [-p ports]\n");
exit(1);
}
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 9ec649e..d5eda31 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -438,7 +438,7 @@ send_tncmd(void (*func)(int, int), const char *cmd, char *name)
if (isprefix(name, "help") || isprefix(name, "?")) {
int col, len;
- printf("Usage: send %s <value|option>\n", cmd);
+ printf("usage: send %s <value|option>\n", cmd);
printf("\"value\" must be from 0 to 255\n");
printf("Valid options are:\n\t");
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c
index 5c73664..6276fdd 100644
--- a/usr.bin/telnet/main.c
+++ b/usr.bin/telnet/main.c
@@ -84,7 +84,7 @@ tninit(void)
static void
usage(void)
{
- fprintf(stderr, "Usage: %s %s%s%s%s\n",
+ fprintf(stderr, "usage: %s %s%s%s%s\n",
prompt,
"[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d]",
"\n\t[-e char] [-l user] [-n tracefile] ",
diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c
index 0584a76..1485586 100644
--- a/usr.bin/usbhidctl/usbhid.c
+++ b/usr.bin/usbhidctl/usbhid.c
@@ -93,7 +93,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "Usage: %s -f device [-l] [-n] [-r] [-t tablefile] [-v] name ...\n", __progname);
+ fprintf(stderr, "usage: %s -f device [-l] [-n] [-r] [-t tablefile] [-v] name ...\n", __progname);
fprintf(stderr, " %s -f device [-l] [-n] [-r] [-t tablefile] [-v] -a\n", __progname);
exit(1);
}
diff --git a/usr.bin/xlint/lint1/main1.c b/usr.bin/xlint/lint1/main1.c
index edcc0ab..80d5482 100644
--- a/usr.bin/xlint/lint1/main1.c
+++ b/usr.bin/xlint/lint1/main1.c
@@ -208,7 +208,7 @@ static void
usage(void)
{
(void)fprintf(stderr,
- "Usage: lint1 [-abcdeghmprstuvwyzF] [-X <id>[,<id>]... src dest\n");
+ "usage: lint1 [-abcdeghmprstuvwyzF] [-X <id>[,<id>]... src dest\n");
exit(1);
}
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 27fdff3..80e5cf7 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -283,7 +283,7 @@ usage(void)
{
(void)fprintf(stderr,
- "Usage: lint [-abceghprvwxzHF] [-s|-t] [-i|-nu] [-Dname[=def]]"
+ "usage: lint [-abceghprvwxzHF] [-s|-t] [-i|-nu] [-Dname[=def]]"
" [-Uname] [-X <id>[,<id>]...\n");
(void)fprintf(stderr,
"\t[-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile]"
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c
index 051d534..31e7d51 100644
--- a/usr.sbin/burncd/burncd.c
+++ b/usr.sbin/burncd/burncd.c
@@ -562,7 +562,7 @@ void
usage(void)
{
fprintf(stderr,
- "Usage: %s [-delmnpqtv] [-f device] [-s speed] [command]"
+ "usage: %s [-delmnpqtv] [-f device] [-s speed] [command]"
" [command file ...]\n", getprogname());
exit(EX_USAGE);
}
diff --git a/usr.sbin/crunch/crunchide/crunchide.c b/usr.sbin/crunch/crunchide/crunchide.c
index 6b3bd92..1538567 100644
--- a/usr.sbin/crunch/crunchide/crunchide.c
+++ b/usr.sbin/crunch/crunchide/crunchide.c
@@ -130,7 +130,7 @@ char **argv;
void usage(void)
{
fprintf(stderr,
- "Usage: %s [-k <symbol-name>] [-f <keep-list-file>] <files> ...\n",
+ "usage: %s [-k <symbol-name>] [-f <keep-list-file>] <files> ...\n",
pname);
exit(1);
}
diff --git a/usr.sbin/ctm/ctm_rmail/options.h b/usr.sbin/ctm/ctm_rmail/options.h
index 5c8dd94..86c1247 100644
--- a/usr.sbin/ctm/ctm_rmail/options.h
+++ b/usr.sbin/ctm/ctm_rmail/options.h
@@ -62,7 +62,7 @@ pusage()
/*
* Avoid gratuitously loading stdio.
*/
- write(STDERR_FILENO, "Usage: ", 7);
+ write(STDERR_FILENO, "usage: ", 7);
write(STDERR_FILENO, O_name, strlen(O_name));
write(STDERR_FILENO, " ", 1);
write(STDERR_FILENO, O_usage, strlen(O_usage));
diff --git a/usr.sbin/digictl/digictl.c b/usr.sbin/digictl/digictl.c
index dbcdb93..0aa5f68 100644
--- a/usr.sbin/digictl/digictl.c
+++ b/usr.sbin/digictl/digictl.c
@@ -41,7 +41,7 @@ enum aflag { NO_AFLAG, ALTPIN_DISABLE, ALTPIN_ENABLE, ALTPIN_QUERY };
static int
usage(const char *prog)
{
- fprintf(stderr, "Usage: %s -a disable|enable|query device\n", prog);
+ fprintf(stderr, "usage: %s -a disable|enable|query device\n", prog);
fprintf(stderr, " %s [-d debug] [-ir] ctrl-device...\n", prog);
return (EX_USAGE);
}
diff --git a/usr.sbin/jail/jail.c b/usr.sbin/jail/jail.c
index bdfd19c..dded501 100644
--- a/usr.sbin/jail/jail.c
+++ b/usr.sbin/jail/jail.c
@@ -30,7 +30,7 @@ main(int argc, char **argv)
struct in_addr in;
if (argc < 5)
- errx(1, "Usage: %s path hostname ip-number command ...\n",
+ errx(1, "usage: %s path hostname ip-number command ...\n",
argv[0]);
i = chdir(argv[1]);
if (i)
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c
index 7be0c22..e631ecc 100644
--- a/usr.sbin/kldxref/kldxref.c
+++ b/usr.sbin/kldxref/kldxref.c
@@ -340,7 +340,7 @@ usage(void)
{
fprintf(stderr, "%s\n",
- "Usage: kldxref [-Rdv] [-f hintfile] path [path..]"
+ "usage: kldxref [-Rdv] [-f hintfile] path [path..]"
);
exit(1);
}
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c
index 1e6f400..bc47046 100644
--- a/usr.sbin/lpr/lpc/cmds.c
+++ b/usr.sbin/lpr/lpc/cmds.c
@@ -106,7 +106,7 @@ generic(void (*specificrtn)(struct printer *_pp),
char **targv;
if (argc == 1) {
- printf("Usage: %s {all | printer ...}\n", argv[0]);
+ printf("usage: %s {all | printer ...}\n", argv[0]);
return;
}
@@ -796,7 +796,7 @@ down(int argc, char *argv[])
struct printer myprinter, *pp = &myprinter;
if (argc == 1) {
- printf("Usage: down {all | printer} [message ...]\n");
+ printf("usage: down {all | printer} [message ...]\n");
return;
}
if (!strcmp(argv[1], "all")) {
@@ -1080,7 +1080,7 @@ topq(int argc, char *argv[])
struct printer myprinter, *pp = &myprinter;
if (argc < 3) {
- printf("Usage: topq printer [jobnum ...] [user ...]\n");
+ printf("usage: topq printer [jobnum ...] [user ...]\n");
return;
}
diff --git a/usr.sbin/ngctl/main.c b/usr.sbin/ngctl/main.c
index 8ff070b..109ac17 100644
--- a/usr.sbin/ngctl/main.c
+++ b/usr.sbin/ngctl/main.c
@@ -406,7 +406,7 @@ HelpCmd(int ac, char **av)
default:
/* Show help on a specific command */
if ((cmd = FindCommand(av[1])) != NULL) {
- printf("Usage: %s\n", cmd->cmd);
+ printf("usage: %s\n", cmd->cmd);
if (cmd->aliases[0] != NULL) {
int a = 0;
diff --git a/usr.sbin/pccard/pccardc/beep.c b/usr.sbin/pccard/pccardc/beep.c
index dda2e1c..be62c56 100644
--- a/usr.sbin/pccard/pccardc/beep.c
+++ b/usr.sbin/pccard/pccardc/beep.c
@@ -64,7 +64,7 @@ beep_main(argc, argv)
}
}
if (!valid)
- errx(1, "Usage: %s beep newstat", argv[0]);
+ errx(1, "usage: %s beep newstat", argv[0]);
sscanf(argv[1], "%d", &newstat);
sprintf(name, CARD_DEVICE, 0);
diff --git a/usr.sbin/pccard/pccardc/power.c b/usr.sbin/pccard/pccardc/power.c
index 45a82f5..59d43a5 100644
--- a/usr.sbin/pccard/pccardc/power.c
+++ b/usr.sbin/pccard/pccardc/power.c
@@ -68,7 +68,7 @@ power_main(argc, argv)
}
}
if (!valid)
- errx(1, "Usage: %s power slot newstat", argv[0]);
+ errx(1, "usage: %s power slot newstat", argv[0]);
sscanf(argv[2], "%d", &newstat);
sprintf(name, CARD_DEVICE, atoi(argv[1]));
diff --git a/usr.sbin/pcvt/userkeys/vt220keys.c b/usr.sbin/pcvt/userkeys/vt220keys.c
index 9d84473..e3fe90c 100644
--- a/usr.sbin/pcvt/userkeys/vt220keys.c
+++ b/usr.sbin/pcvt/userkeys/vt220keys.c
@@ -182,7 +182,7 @@ usage()
{
int i;
- fprintf(stderr,"Usage: %s [-cil] [keyname string keyname string...]\n\n",prog);
+ fprintf(stderr,"usage: %s [-cil] [keyname string keyname string...]\n\n",prog);
fprintf(stderr,"The following options are available\n");
fprintf(stderr,"\t-c\tclears keys first\n");
fprintf(stderr,"\t-l\t[sets then] locks further setting\n");
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 80e9fef..54a725a 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -1092,7 +1092,7 @@ FindExec(struct bundle *bundle, struct cmdtab const *cmds, int argc, int argn,
mkPrefix(argn+1, argv, prefix, sizeof prefix));
if (val == -1)
- log_Printf(LogWARN, "Usage: %s\n", cmd->syntax);
+ log_Printf(LogWARN, "usage: %s\n", cmd->syntax);
else if (val)
log_Printf(LogWARN, "%s: Failed %d\n",
mkPrefix(argn+1, argv, prefix, sizeof prefix), val);
@@ -2606,7 +2606,7 @@ LinkCommand(struct cmdargs const *arg)
return result;
}
- log_Printf(LogWARN, "Usage: %s\n", arg->cmd->syntax);
+ log_Printf(LogWARN, "usage: %s\n", arg->cmd->syntax);
return 2;
}
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 6cf390c..1fb6737 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -186,7 +186,7 @@ RestartServer(int signo)
static void
Usage(void)
{
- fprintf(stderr, "Usage: ppp [-auto | -foreground | -background | -direct |"
+ fprintf(stderr, "usage: ppp [-auto | -foreground | -background | -direct |"
" -dedicated | -ddial | -interactive]"
#ifndef NOALIAS
" [-nat]"
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index f477d6d..6bdb3cf 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -215,7 +215,7 @@ nat_RedirectAddr(struct cmdargs const *arg)
error = StrToAddr(arg->argv[arg->argn+1], &aliasaddr);
if (error) {
prompt_Printf(arg->prompt, "address redirect: invalid alias address\n");
- prompt_Printf(arg->prompt, "Usage: nat %s %s\n", arg->cmd->name,
+ prompt_Printf(arg->prompt, "usage: nat %s %s\n", arg->cmd->name,
arg->cmd->syntax);
return 1;
}
@@ -223,7 +223,7 @@ nat_RedirectAddr(struct cmdargs const *arg)
if (link == NULL) {
prompt_Printf(arg->prompt, "address redirect: packet aliasing"
" engine error\n");
- prompt_Printf(arg->prompt, "Usage: nat %s %s\n", arg->cmd->name,
+ prompt_Printf(arg->prompt, "usage: nat %s %s\n", arg->cmd->name,
arg->cmd->syntax);
}
} else
@@ -269,7 +269,7 @@ nat_RedirectProto(struct cmdargs const *arg)
error = StrToAddr(arg->argv[arg->argn + 2], &publicIP);
if (error) {
prompt_Printf(arg->prompt, "proto redirect: invalid alias address\n");
- prompt_Printf(arg->prompt, "Usage: nat %s %s\n", arg->cmd->name,
+ prompt_Printf(arg->prompt, "usage: nat %s %s\n", arg->cmd->name,
arg->cmd->syntax);
return 1;
}
@@ -280,7 +280,7 @@ nat_RedirectProto(struct cmdargs const *arg)
error = StrToAddr(arg->argv[arg->argn + 2], &remoteIP);
if (error) {
prompt_Printf(arg->prompt, "proto redirect: invalid dst address\n");
- prompt_Printf(arg->prompt, "Usage: nat %s %s\n", arg->cmd->name,
+ prompt_Printf(arg->prompt, "usage: nat %s %s\n", arg->cmd->name,
arg->cmd->syntax);
return 1;
}
@@ -291,7 +291,7 @@ nat_RedirectProto(struct cmdargs const *arg)
if (link == NULL) {
prompt_Printf(arg->prompt, "proto redirect: packet aliasing"
" engine error\n");
- prompt_Printf(arg->prompt, "Usage: nat %s %s\n", arg->cmd->name,
+ prompt_Printf(arg->prompt, "usage: nat %s %s\n", arg->cmd->name,
arg->cmd->syntax);
}
} else
diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c
index 4bcb751..68e888f 100644
--- a/usr.sbin/ppp/systems.c
+++ b/usr.sbin/ppp/systems.c
@@ -186,7 +186,7 @@ DecodeCtrlCommand(char *line, char *arg)
if (!strncasecmp(line, "include", 7) && issep(line[7])) {
end = InterpretArg(line+8, arg);
if (*end && *end != '#')
- log_Printf(LogWARN, "Usage: !include filename\n");
+ log_Printf(LogWARN, "usage: !include filename\n");
else
return CTRL_INCLUDE;
}
diff --git a/usr.sbin/pppstats/pppstats.c b/usr.sbin/pppstats/pppstats.c
index 1c7c744..d3b7b3d 100644
--- a/usr.sbin/pppstats/pppstats.c
+++ b/usr.sbin/pppstats/pppstats.c
@@ -88,7 +88,7 @@ int main __P((int, char *argv[]));
static void
usage()
{
- fprintf(stderr, "Usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
+ fprintf(stderr, "usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
progname);
exit(1);
}
diff --git a/usr.sbin/rip6query/rip6query.c b/usr.sbin/rip6query/rip6query.c
index bc8efe7..90d65aa 100644
--- a/usr.sbin/rip6query/rip6query.c
+++ b/usr.sbin/rip6query/rip6query.c
@@ -181,7 +181,7 @@ main(argc, argv)
static void
usage()
{
- fprintf(stderr, "Usage: rip6query [-I iface] address\n");
+ fprintf(stderr, "usage: rip6query [-I iface] address\n");
}
/* getnameinfo() is preferred as we may be able to show ifindex as ifname */
diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c
index 1541d5f..85230af 100644
--- a/usr.sbin/usbd/usbd.c
+++ b/usr.sbin/usbd/usbd.c
@@ -211,7 +211,7 @@ int find_action __P((struct usb_device_info *devinfo,
void
usage(void)
{
- fprintf(stderr, "Usage: %s [-d] [-v] [-t timeout] [-e] [-f dev]\n"
+ fprintf(stderr, "usage: %s [-d] [-v] [-t timeout] [-e] [-f dev]\n"
" [-n] [-c config]\n",
__progname);
exit(1);
diff --git a/usr.sbin/usbdevs/usbdevs.c b/usr.sbin/usbdevs/usbdevs.c
index 1d085b7..71bf824 100644
--- a/usr.sbin/usbdevs/usbdevs.c
+++ b/usr.sbin/usbdevs/usbdevs.c
@@ -64,7 +64,7 @@ int main(int, char **);
void
usage()
{
- fprintf(stderr, "Usage: %s [-a addr] [-d] [-f dev] [-v]\n",
+ fprintf(stderr, "usage: %s [-a addr] [-d] [-f dev] [-v]\n",
getprogname());
exit(1);
}
OpenPOWER on IntegriCloud