From a114a0db0b2755c7033f8a45b1c0459e0e91ce32 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 9 Sep 1996 15:15:45 +0000 Subject: [PATCH] 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 --- src/kadmin/cli/ChangeLog | 6 ++++++ src/kadmin/cli/kadmin.c | 4 ++-- 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 + + * 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", -- 2.26.2