mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Usage -> usage.
This commit is contained in:
parent
a77f5536c1
commit
a9050c90c4
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: skey.c,v 1.23 2005/07/06 21:45:44 jmc Exp $ */
|
/* $OpenBSD: skey.c,v 1.24 2008/11/12 16:13:46 sobrado Exp $ */
|
||||||
/*
|
/*
|
||||||
* OpenBSD S/Key (skey.c)
|
* OpenBSD S/Key (skey.c)
|
||||||
*
|
*
|
||||||
@ -150,7 +150,7 @@ void
|
|||||||
usage(char *s)
|
usage(char *s)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: %s [-x] [-md4 | -md5 | -rmd160 | -sha1] [-n count]\n\t"
|
"usage: %s [-x] [-md4 | -md5 | -rmd160 | -sha1] [-n count]\n\t"
|
||||||
"[-p passphrase] <sequence#>[/] key\n", s);
|
"[-p passphrase] <sequence#>[/] key\n", s);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
# Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
# Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||||
#
|
#
|
||||||
# Prune commented out, bogus, and crufty entries from /etc/skeykeys
|
# Prune commented out, bogus, and crufty entries from /etc/skeykeys
|
||||||
# Usage: skeyprune [days]
|
# usage: skeyprune [days]
|
||||||
#
|
#
|
||||||
# $OpenBSD: skeyprune.pl,v 1.5 2003/06/17 21:56:26 millert Exp $
|
# $OpenBSD: skeyprune.pl,v 1.6 2008/11/12 16:13:46 sobrado Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
use POSIX qw(S_ISREG);
|
use POSIX qw(S_ISREG);
|
||||||
@ -29,7 +29,7 @@ use Fcntl qw(:DEFAULT :flock);
|
|||||||
|
|
||||||
# Keep out the stupid
|
# Keep out the stupid
|
||||||
die "Only root may run $0.\n" if $>;
|
die "Only root may run $0.\n" if $>;
|
||||||
die "Usage: $0 [days]\n" if $#ARGV > 0;
|
die "usage: $0 [days]\n" if $#ARGV > 0;
|
||||||
|
|
||||||
# Pathnames
|
# Pathnames
|
||||||
$skeydir = '/etc/skey';
|
$skeydir = '/etc/skey';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: skeyaudit.c,v 1.23 2006/12/11 20:50:54 deraadt Exp $ */
|
/* $OpenBSD: skeyaudit.c,v 1.24 2008/11/12 16:13:46 sobrado Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2000, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
|
* Copyright (c) 1997, 2000, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||||
@ -223,7 +223,7 @@ usage(void)
|
|||||||
{
|
{
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
|
|
||||||
(void)fprintf(stderr, "Usage: %s [-ai] [-l limit]\n",
|
(void)fprintf(stderr, "usage: %s [-ai] [-l limit]\n",
|
||||||
__progname);
|
__progname);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user