summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli/kadmin.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2006-12-16 02:08:40 +0000
committerRuss Allbery <rra@stanford.edu>2006-12-16 02:08:40 +0000
commit9fc073e25fb3d1b57e2f33c83d1733670cea1100 (patch)
tree545a31ef13f6cc17e04fe175b813eedcf4f57f97 /src/kadmin/cli/kadmin.c
parent0efde67fa90272b61c90b07138d0008c8432295d (diff)
downloadkrb5-9fc073e25fb3d1b57e2f33c83d1733670cea1100.tar.gz
krb5-9fc073e25fb3d1b57e2f33c83d1733670cea1100.tar.xz
krb5-9fc073e25fb3d1b57e2f33c83d1733670cea1100.zip
Add -clearpolicy to kadmin addprinc usage
Add -clearpolicy to the usage message returned by kadmin when one types addprinc without any arguments. ticket: new Component: krb5-admin Version_Reported: 1.4.4 Target_Version: 1.6 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18955 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli/kadmin.c')
-rw-r--r--src/kadmin/cli/kadmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
index a2a600256..3603df669 100644
--- a/src/kadmin/cli/kadmin.c
+++ b/src/kadmin/cli/kadmin.c
@@ -1095,7 +1095,7 @@ kadmin_addprinc_usage(func)
{
fprintf(stderr, "usage: %s [options] principal\n", func);
fprintf(stderr, "\toptions are:\n");
- fprintf(stderr, "\t\t[-x db_princ_args]* [-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-randkey] [-pw password]\n\t\t[-maxrenewlife maxrenewlife]\n\t\t[-e keysaltlist]\n\t\t[{+|-}attribute]\n");
+ fprintf(stderr, "\t\t[-x db_princ_args]* [-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-clearpolicy] [-randkey]\n\t\t[-pw password] [-maxrenewlife maxrenewlife]\n\t\t[-e keysaltlist]\n\t\t[{+|-}attribute]\n");
fprintf(stderr, "\tattributes are:\n");
fprintf(stderr, "%s%s%s",
"\t\tallow_postdated allow_forwardable allow_tgs_req allow_renewable\n",