summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli/kadmin.c
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-09-09 15:15:45 +0000
committerTheodore Tso <tytso@mit.edu>1996-09-09 15:15:45 +0000
commita114a0db0b2755c7033f8a45b1c0459e0e91ce32 (patch)
treeafd9bd50f6f1842688d6cd71f63d7bc86e29d7ef /src/kadmin/cli/kadmin.c
parentf0d5c47e9b853f08ea8451ee93bfeb2802ee7c3a (diff)
downloadkrb5-a114a0db0b2755c7033f8a45b1c0459e0e91ce32.tar.gz
krb5-a114a0db0b2755c7033f8a45b1c0459e0e91ce32.tar.xz
krb5-a114a0db0b2755c7033f8a45b1c0459e0e91ce32.zip
Fix the usage messages to state -randkey, not -randpass, to conform
with what the code (and man pages) use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9061 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli/kadmin.c')
-rw-r--r--src/kadmin/cli/kadmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
index 36395a6596..4077bd6f81 100644
--- a/src/kadmin/cli/kadmin.c
+++ b/src/kadmin/cli/kadmin.c
@@ -650,7 +650,7 @@ void kadmin_cpw(argc, argv)
krb5_free_principal(context, princ);
usage:
fprintf(stderr,
- "usage: change_password [-randpass] [-pw passowrd] "
+ "usage: change_password [-randkey] [-pw passowrd] "
"principal\n");
return;
}
@@ -820,7 +820,7 @@ void kadmin_addprinc_usage(func)
{
fprintf(stderr, "usage: %s [options] principal\n", func);
fprintf(stderr, "\toptions are:\n");
- fprintf(stderr, "\t\t[-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-randpass] [-pw password]\n\t\t[-maxrenewlife maxrenewlife] [{+|-}attribute]\n");
+ fprintf(stderr, "\t\t[-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-randkey] [-pw password]\n\t\t[-maxrenewlife maxrenewlife] [{+|-}attribute]\n");
fprintf(stderr, "\tattributes are:\n");
fprintf(stderr, "%s%s%s",
"\t\tallow_postdated allow_forwardable allow_tgs_req allow_renewable\n",