From d6a79f9cd826e26b453aa73c82a3eec510e5df75 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 24 Feb 2010 11:41:34 -0500 Subject: Add the popt auto-help/usage macro for enhanced help output. --- ipa-client/ipa-getkeytab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipa-client/ipa-getkeytab.c') diff --git a/ipa-client/ipa-getkeytab.c b/ipa-client/ipa-getkeytab.c index 1bbb7759e..d55355aab 100644 --- a/ipa-client/ipa-getkeytab.c +++ b/ipa-client/ipa-getkeytab.c @@ -724,7 +724,8 @@ int main(int argc, char *argv[]) { "password", 'P', POPT_ARG_NONE, &askpass, 0, "Asks for a non-random password to use for the principal" }, { "binddn", 'D', POPT_ARG_STRING, &binddn, 0, "LDAP DN", "DN to bind as if not using kerberos" }, { "bindpw", 'w', POPT_ARG_STRING, &bindpw, 0, "LDAP password", "password to use if not using kerberos" }, - { NULL, 0, POPT_ARG_NONE, NULL, 0, NULL, NULL } + POPT_AUTOHELP + POPT_TABLEEND }; poptContext pc; char *ktname; -- cgit