summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-21 11:40:54 -0700
committerJeremy Allison <jra@samba.org>2010-05-21 11:40:54 -0700
commitf576cc5410a9074a769ca1fbf786a142449e6058 (patch)
tree61b199fc3525c61f2dd04df2080933b36c9ac20e /source4/lib/cmdline
parent03f22005f9692feee150cf51c70d09ce2100ae02 (diff)
downloadsamba-f576cc5410a9074a769ca1fbf786a142449e6058.tar.gz
samba-f576cc5410a9074a769ca1fbf786a142449e6058.tar.bz2
samba-f576cc5410a9074a769ca1fbf786a142449e6058.zip
Doh! If you're going to give advice in "useage", make sure it's correct.
Jeremy.
Diffstat (limited to 'source4/lib/cmdline')
-rw-r--r--source4/lib/cmdline/popt_credentials.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index 1f61d64af5..1776fb2f6f 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -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 }