diff options
author | Tom Yu <tlyu@mit.edu> | 2004-08-31 22:06:26 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2004-08-31 22:06:26 +0000 |
commit | 610a42ad49d9873172cb98004d3f54e169b0a1d3 (patch) | |
tree | c143ef2be7b5de5d2750a87e5d9fe72dc661804b /src/clients/kvno | |
parent | 1aa3008fbc85b7462e157d9369e91f6c0c9925a0 (diff) | |
download | krb5-610a42ad49d9873172cb98004d3f54e169b0a1d3.zip krb5-610a42ad49d9873172cb98004d3f54e169b0a1d3.tar.gz krb5-610a42ad49d9873172cb98004d3f54e169b0a1d3.tar.bz2 |
* 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
Diffstat (limited to 'src/clients/kvno')
-rw-r--r-- | src/clients/kvno/ChangeLog | 6 | ||||
-rw-r--r-- | src/clients/kvno/kvno.M | 7 | ||||
-rw-r--r-- | src/clients/kvno/kvno.c | 4 |
3 files changed, 13 insertions, 4 deletions
diff --git a/src/clients/kvno/ChangeLog b/src/clients/kvno/ChangeLog index 7e99fe9..0a81427 100644 --- a/src/clients/kvno/ChangeLog +++ b/src/clients/kvno/ChangeLog @@ -1,3 +1,9 @@ +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 diff --git a/src/clients/kvno/kvno.M b/src/clients/kvno/kvno.M index e7c99f7..864f75e 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 71fbcde..c860eb7 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); |