{ "numeric", 'n', POPT_ARG_NONE, NULL, 'n', "Don't resolve sids or limits to names" },
{ "verbose", 'v', POPT_ARG_NONE, NULL, 'v', "be verbose" },
{ "test-args", 't', POPT_ARG_NONE, NULL, 't', "Test arguments"},
+ {"max-protocol", 'm', POPT_ARG_STRING, NULL, 'm',
+ "Set the max protocol level", "LEVEL"},
POPT_COMMON_SAMBA
POPT_COMMON_CREDENTIALS
{ NULL }
}
todo = SET_QUOTA;
break;
+ case 'm':
+ lp_set_cmdline("client max protocol",
+ poptGetOptArg(pc));
+ break;
}
}