diff options
author | des <des@FreeBSD.org> | 2002-04-22 13:44:47 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-22 13:44:47 +0000 |
commit | 4d6b787d2daa6eb05c0f3526d65b0b92b1afa715 (patch) | |
tree | bf1d5b964f5e7e91c796086166af5a86d7d454a0 /usr.sbin/ppp | |
parent | 5cd51ad03ace6eb47f39604929482ae558d66aad (diff) | |
download | FreeBSD-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/ppp')
-rw-r--r-- | usr.sbin/ppp/command.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/main.c | 2 | ||||
-rw-r--r-- | usr.sbin/ppp/nat_cmd.c | 10 | ||||
-rw-r--r-- | usr.sbin/ppp/systems.c | 2 |
4 files changed, 9 insertions, 9 deletions
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; } |