summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-11-08 21:11:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:23 -0500
commitbf16e43328f4e025a21c4ee2dc1d82f8e522362d (patch)
treee20827188bf4dafe9ad793099f0353869ef7f45e /source4/lib/cmdline
parentdbe5084f8e21565168b83cef17a0dec9032a3f50 (diff)
downloadsamba-bf16e43328f4e025a21c4ee2dc1d82f8e522362d.tar.gz
samba-bf16e43328f4e025a21c4ee2dc1d82f8e522362d.tar.bz2
samba-bf16e43328f4e025a21c4ee2dc1d82f8e522362d.zip
r19637: Leave --realm option only, as abartlet suggested.
rafal (This used to be commit 73e3f7efa71ca07a42215b044cd9a20762cf2694)
Diffstat (limited to 'source4/lib/cmdline')
-rw-r--r--source4/lib/cmdline/popt_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 25d1cd6546..be46582d0b 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -32,7 +32,7 @@
* -l,--log-base
* -n,--netbios-name
* -W,--workgroup
- * -r,--realm
+ * --realm
* -i,--scope
*/
@@ -154,7 +154,7 @@ struct poptOption popt_common_connection[] = {
{ "socket-options", 'O', POPT_ARG_STRING, NULL, 'O', "socket options to use", "SOCKETOPTIONS" },
{ "netbiosname", 'n', POPT_ARG_STRING, NULL, 'n', "Primary netbios name", "NETBIOSNAME" },
{ "workgroup", 'W', POPT_ARG_STRING, NULL, 'W', "Set the workgroup name", "WORKGROUP" },
- { "realm", 'r', POPT_ARG_STRING, NULL, 'r', "Set the realm name", "REALM" },
+ { "realm", 0, POPT_ARG_STRING, NULL, 'r', "Set the realm name", "REALM" },
{ "scope", 'i', POPT_ARG_STRING, NULL, 'i', "Use this Netbios scope", "SCOPE" },
{ "maxprotocol", 'm', POPT_ARG_STRING, NULL, 'm', "Set max protocol level", "MAXPROTOCOL" },
{ NULL }