summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-05-25 16:47:40 +0000
committerGreg Hudson <ghudson@mit.edu>2009-05-25 16:47:40 +0000
commit717b53d5907ee29af37c4ab5127abb5473f5fa26 (patch)
treee82c9cde16e2635aca368e76acbec9644567adab /src
parent7e306b5fe4443c3152ecae549b6dac642ee91710 (diff)
downloadkrb5-717b53d5907ee29af37c4ab5127abb5473f5fa26.tar.gz
krb5-717b53d5907ee29af37c4ab5127abb5473f5fa26.tar.xz
krb5-717b53d5907ee29af37c4ab5127abb5473f5fa26.zip
Fix up kinit -T documentation
ticket: 6497 tags: pullup target_version: 1.7 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22382 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/clients/kinit/kinit.M6
-rw-r--r--src/clients/kinit/kinit.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/clients/kinit/kinit.M b/src/clients/kinit/kinit.M
index 05a5ae890..fb5a47a25 100644
--- a/src/clients/kinit/kinit.M
+++ b/src/clients/kinit/kinit.M
@@ -131,8 +131,10 @@ the
option; otherwise the default name and location will be used.
.TP
\fB\-T\fP \fIarmor_ccache\fP
-Specifies the name of a credential cache that already contains a ticket. This ccache
-will be used to armor the request Ideally, an attacker should have to attack both the armor ticket and the key of the principal.
+Specifies the name of a credential cache that already contains a
+ticket. This ccache will be used to armor the request. Ideally, an
+attacker should have to attack both the armor ticket and the key of
+the principal.
.TP
\fB\-c\fP \fIcache_name\fP
use
diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c
index 42896122a..3f31824b0 100644
--- a/src/clients/kinit/kinit.c
+++ b/src/clients/kinit/kinit.c
@@ -198,7 +198,7 @@ usage()
"[-k [-t keytab_file]] "
"[-c cachename] "
USAGE_BREAK
- "[-S service_name]""-T ticket_armor_cache"
+ "[-S service_name] [-T ticket_armor_cache]"
USAGE_BREAK
"[-X <attribute>[=<value>]] [principal]"
"\n\n",
@@ -223,6 +223,7 @@ usage()
fprintf(stderr, "\t-t filename of keytab to use\n");
fprintf(stderr, "\t-c Kerberos 5 cache name\n");
fprintf(stderr, "\t-S service\n");
+ fprintf(stderr, "\t-T armor credential cache\n");
fprintf(stderr, "\t-X <attribute>[=<value>]\n");
exit(2);
}