Doh! If you're going to give advice in "useage", make sure it's correct.
authorJeremy Allison <jra@samba.org>
Fri, 21 May 2010 18:40:54 +0000 (11:40 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 21 May 2010 18:40:54 +0000 (11:40 -0700)
Jeremy.

source4/lib/cmdline/popt_credentials.c

index 1f61d64af5e2971f211ca7ea5d70e2c52b45e67b..1776fb2f6f6b7c2e6ee149f18a37ec132cb51628 100644 (file)
@@ -107,7 +107,7 @@ static void popt_common_credentials_callback(poptContext con,
                if (arg) {
                        if (!set_boolean(arg, &use_kerberos)) {
                                fprintf(stderr, "Error parsing -k %s. Should be "
-                                       "-k [yes|no]\n", arg);
+                                       "-k [yes|no]\n", arg);
                                exit(1);
                                break;
                        }
@@ -160,7 +160,7 @@ struct poptOption popt_common_credentials[] = {
        { "authentication-file", 'A', POPT_ARG_STRING, NULL, 'A', "Get the credentials from a file", "FILE" },
        { "machine-pass", 'P', POPT_ARG_NONE, NULL, 'P', "Use stored machine account password (implies -k)" },
        { "simple-bind-dn", 0, POPT_ARG_STRING, NULL, OPT_SIMPLE_BIND_DN, "DN to use for a simple bind" },
-       { "kerberos", 'k', POPT_ARG_STRING, NULL, OPT_KERBEROS, "Use Kerberos, -k [yes|no]" },
+       { "kerberos", 'k', POPT_ARG_STRING, NULL, OPT_KERBEROS, "Use Kerberos, -k [yes|no]" },
        { "sign", 'S', POPT_ARG_NONE, NULL, OPT_SIGN, "Sign connection to prevent modification in transit" },
        { "encrypt", 'e', POPT_ARG_NONE, NULL, OPT_ENCRYPT, "Encrypt connection for privacy" },
        { NULL }