summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-getkeytab.c
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-06-04 11:03:36 -0400
committerRob Crittenden <rcritten@redhat.com>2008-06-04 11:05:47 -0400
commit28008a4bf25eee6f0a220efe472b4ad7f3d76dad (patch)
tree675b92f9ade3bbe9d3a70143fcfc2a3e661620c4 /ipa-client/ipa-getkeytab.c
parent9bcd31efc5abcfb529b30c8e067cd421e87d7ed4 (diff)
downloadfreeipa-28008a4bf25eee6f0a220efe472b4ad7f3d76dad.tar.gz
freeipa-28008a4bf25eee6f0a220efe472b4ad7f3d76dad.tar.xz
freeipa-28008a4bf25eee6f0a220efe472b4ad7f3d76dad.zip
Fix typo and reorder -q|--quiet so it displays nicer. popt isn't putting it on a separate line so moving it up front makes it easier to find.
443014
Diffstat (limited to 'ipa-client/ipa-getkeytab.c')
-rw-r--r--ipa-client/ipa-getkeytab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-client/ipa-getkeytab.c b/ipa-client/ipa-getkeytab.c
index 8a8c856b4..8c95c35f7 100644
--- a/ipa-client/ipa-getkeytab.c
+++ b/ipa-client/ipa-getkeytab.c
@@ -446,11 +446,11 @@ int main(int argc, char *argv[])
int quiet = 0;
int permitted_enctypes = 0;
struct poptOption options[] = {
+ { "quiet", 'q', POPT_ARG_NONE, &quiet, 0, "Print as little as possible", "Output only on errors"},
{ "server", 's', POPT_ARG_STRING, &server, 0, "Contact this specific KDC Server", "Server Name" },
{ "principal", 'p', POPT_ARG_STRING, &principal, 0, "The principal to get a keytab for (ex: ftp/ftp.example.com@EXAMPLE.COM)", "Kerberos Service Principal Name" },
{ "keytab", 'k', POPT_ARG_STRING, &keytab, 0, "File were to store the keytab information", "Keytab File Name" },
- { "enctypes", 'e', POPT_ARG_STRING, &enctypes_string, 0, "Encryption types to request", "Comma separated encription types list" },
- { "quiet", 'q', POPT_ARG_NONE, &quiet, 0, "Print as little as possible", "Output only on errors"},
+ { "enctypes", 'e', POPT_ARG_STRING, &enctypes_string, 0, "Encryption types to request", "Comma separated encryption types list" },
{ "permitted-enctypes", 0, POPT_ARG_NONE, &permitted_enctypes, 0, "Show the list of permitted encryption types and exit", "Permitted Encryption Types"},
{ NULL, 0, POPT_ARG_NONE, NULL, 0, NULL, NULL }
};