+2004-08-31 Tom Yu <tlyu@mit.edu>
+
+ * kvno.M: Update usage.
+
+ * kvno.c (xusage): Update usage message.
+
2004-08-20 Jeffrey Altman <jaltman@mit.edu>
* kvno.c: Add -c ccache command line option
.SH NAME
kvno \- print key version numbers of Kerberos principals
.SH SYNOPSIS
-\fBkvno\fP [\fB\-q\fP] [\fB\-h\fP] [\fB\-4\fP] [\fB\-e etype\fP]
+\fBkvno\fP [\fB\-q\fP] [\fB\-h\fP] [\fB\-4\fP\ |\ [\fB-c ccache\fP]\ [\fB\-e etype\fP]]
\fBservice1\fP \fBservice2\fP \fB...\fP
.br
.SH DESCRIPTION
prints out the key version numbers of each.
.SH OPTIONS
.TP
-.B \-e
+.B \-c ccache
+specifies the name of a credentials cache to use (if not the default)
+.TP
+.B \-e etype
specifies the enctype which will be requested for the session key of
all the services named on the command line. This is useful in certain
backward compatibility situations.
{
#ifdef KRB5_KRB4_COMPAT
fprintf(stderr,
- "xusage: %s [-4 | -c ccache -e etype] service1 service2 ...\n",
+ "usage: %s [-4 | [-c ccache] [-e etype]] service1 service2 ...\n",
prog);
#else
- fprintf(stderr, "xusage: %s [-c ccache -e etype] service1 service2 ...\n",
+ fprintf(stderr, "usage: %s [-c ccache] [-e etype] service1 service2 ...\n",
prog);
#endif
exit(1);