summaryrefslogtreecommitdiff
path: root/source/lib/cmdline
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-11 18:31:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:39 -0500
commit18ea767d396bf6d956fd83ee3d2687d98897ae36 (patch)
tree07c5227f4f39f1206fc9f4434e7137ec309b3d0f /source/lib/cmdline
parent4e304101241ea7bcb9111b757bb51b16665d492d (diff)
downloadsamba-18ea767d396bf6d956fd83ee3d2687d98897ae36.tar.gz
r24335: Fix -N support.
Diffstat (limited to 'source/lib/cmdline')
-rw-r--r--source/lib/cmdline/popt_credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/cmdline/popt_credentials.c b/source/lib/cmdline/popt_credentials.c
index e4931cd1ce6..259dbf8ee14 100644
--- a/source/lib/cmdline/popt_credentials.c
+++ b/source/lib/cmdline/popt_credentials.c
@@ -132,7 +132,7 @@ static void popt_common_credentials_callback(poptContext con,
struct poptOption popt_common_credentials[] = {
{ NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE|POPT_CBFLAG_POST, (void *)popt_common_credentials_callback },
{ "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", "[DOMAIN/]USERNAME[%PASSWORD]" },
- { "no-pass", 'N', POPT_ARG_NONE, &dont_ask, True, "Don't ask for a password" },
+ { "no-pass", 'N', POPT_ARG_NONE, &dont_ask, 'N', "Don't ask for a password" },
{ "password", 0, POPT_ARG_STRING, NULL, OPT_PASSWORD, "Password" },
{ "authentication-file", 'A', POPT_ARG_STRING, NULL, 'A', "Get the credentials from a file", "FILE" },
{ "signing", 'S', POPT_ARG_STRING, NULL, 'S', "Set the client signing state", "on|off|required" },