From: Tom Yu Date: Tue, 31 Aug 2004 22:06:26 +0000 (+0000) Subject: * kvno.M: Update usage X-Git-Tag: krb5-1.4-beta1~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=610a42ad49d9873172cb98004d3f54e169b0a1d3;p=krb5.git * kvno.M: Update usage * kvno.c (xusage): Update usage message. ticket: 2677 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16709 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kvno/ChangeLog b/src/clients/kvno/ChangeLog index 7e99fe9b0..0a81427ff 100644 --- a/src/clients/kvno/ChangeLog +++ b/src/clients/kvno/ChangeLog @@ -1,3 +1,9 @@ +2004-08-31 Tom Yu + + * kvno.M: Update usage. + + * kvno.c (xusage): Update usage message. + 2004-08-20 Jeffrey Altman * kvno.c: Add -c ccache command line option diff --git a/src/clients/kvno/kvno.M b/src/clients/kvno/kvno.M index e7c99f7c5..864f75ec2 100644 --- a/src/clients/kvno/kvno.M +++ b/src/clients/kvno/kvno.M @@ -28,7 +28,7 @@ .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 @@ -37,7 +37,10 @@ acquires a service ticket for the specified Kerberos principals and 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. diff --git a/src/clients/kvno/kvno.c b/src/clients/kvno/kvno.c index 71fbcde8a..c860eb7d4 100644 --- a/src/clients/kvno/kvno.c +++ b/src/clients/kvno/kvno.c @@ -40,10 +40,10 @@ static void xusage() { #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);