summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/kadmin/cli')
-rw-r--r--src/kadmin/cli/ChangeLog6
-rw-r--r--src/kadmin/cli/kadmin.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog
index b45d36ce8..3a7a89601 100644
--- a/src/kadmin/cli/ChangeLog
+++ b/src/kadmin/cli/ChangeLog
@@ -1,3 +1,9 @@
+Mon Sep 9 11:14:23 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * kadmin.c: Fix the usage messages to state -randkey, not
+ -randpass, to conform with what the code (and man pages)
+ use.
+
Thu Sep 5 20:15:12 1996 Ezra Peisach (epeisach@mit.edu)
* getdate.y: Declare a private copy of struct timeb (no-one uses
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
index 36395a659..4077bd6f8 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",