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:35 -0400
commitd5b8ae558f974f5f65e4cf50050f787a866e2e30 (patch)
tree942debe51ef4d2bfa5a6d13b6cda171a458f7d3a /ipa-client/ipa-getkeytab.c
parent249f7ebf2c68a44bb733e58539403c7dc7467e5a (diff)
downloadfreeipa-d5b8ae558f974f5f65e4cf50050f787a866e2e30.tar.gz
freeipa-d5b8ae558f974f5f65e4cf50050f787a866e2e30.tar.xz
freeipa-d5b8ae558f974f5f65e4cf50050f787a866e2e30.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 28859a7f..2d934ff1 100644
--- a/ipa-client/ipa-getkeytab.c
+++ b/ipa-client/ipa-getkeytab.c
@@ -452,11 +452,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 }
};