summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-22 13:44:47 +0000
committerdes <des@FreeBSD.org>2002-04-22 13:44:47 +0000
commit4d6b787d2daa6eb05c0f3526d65b0b92b1afa715 (patch)
treebf1d5b964f5e7e91c796086166af5a86d7d454a0 /usr.sbin
parent5cd51ad03ace6eb47f39604929482ae558d66aad (diff)
downloadFreeBSD-src-4d6b787d2daa6eb05c0f3526d65b0b92b1afa715.zip
FreeBSD-src-4d6b787d2daa6eb05c0f3526d65b0b92b1afa715.tar.gz
Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
Diffstat (limited to 'usr.sbin')
-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
19 files changed, 26 insertions, 26 deletions
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