From 0b1b3850a084be52fcb2abc5985cf6b06e7a54fa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Nov 2003 04:00:21 +0000 Subject: added -m for 'max protocol' as a standard option (This used to be commit 8fe4058711c12b8116982357723c36e862aa0bef) --- source4/lib/cmdline/popt_common.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/cmdline') diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c index ccdecc91cc..8a6cce7e5b 100644 --- a/source4/lib/cmdline/popt_common.c +++ b/source4/lib/cmdline/popt_common.c @@ -94,6 +94,10 @@ static void popt_common_callback(poptContext con, case 'i': lp_set_cmdline("netbios scope", arg); break; + + case 'm': + lp_set_cmdline("max protocol", arg); + break; } } @@ -104,6 +108,7 @@ struct poptOption popt_common_connection[] = { { "netbiosname", 'n', POPT_ARG_STRING, NULL, 'n', "Primary netbios name", "NETBIOSNAME" }, { "workgroup", 'W', POPT_ARG_STRING, NULL, 'W', "Set the workgroup name", "WORKGROUP" }, { "scope", 'i', POPT_ARG_STRING, NULL, 'i', "Use this Netbios scope", "SCOPE" }, + { "maxprotocol", 'm', POPT_ARG_STRING, NULL, 'm', "Set max protocol level", "MAXPROTOCOL" }, POPT_TABLEEND }; -- cgit