mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).
Reported by kukks - thanks ! Jeremy.
This commit is contained in:
parent
a3f7db3d30
commit
9993f8d1af
@ -244,11 +244,11 @@ int main(int argc,char *argv[])
|
||||
{ "flags", 'f', POPT_ARG_NONE, NULL, 'f', "List the NMB flags returned" },
|
||||
{ "unicast", 'U', POPT_ARG_STRING, NULL, 'U', "Specify address to use for unicast" },
|
||||
{ "master-browser", 'M', POPT_ARG_NONE, NULL, 'M', "Search for a master browser" },
|
||||
{ "recursion", 'R', POPT_ARG_VAL, NULL, 'R', "Set recursion desired in package" },
|
||||
{ "status", 'S', POPT_ARG_VAL, NULL, 'S', "Lookup node status as well" },
|
||||
{ "recursion", 'R', POPT_ARG_NONE, NULL, 'R', "Set recursion desired in package" },
|
||||
{ "status", 'S', POPT_ARG_NONE, NULL, 'S', "Lookup node status as well" },
|
||||
{ "translate", 'T', POPT_ARG_NONE, NULL, 'T', "Translate IP addresses into names" },
|
||||
{ "root-port", 'r', POPT_ARG_VAL, NULL, 'r', "Use root port 137 (Win95 only replies to this)" },
|
||||
{ "lookup-by-ip", 'A', POPT_ARG_VAL, NULL, 'A', "Do a node status on <name> as an IP Address" },
|
||||
{ "root-port", 'r', POPT_ARG_NONE, NULL, 'r', "Use root port 137 (Win95 only replies to this)" },
|
||||
{ "lookup-by-ip", 'A', POPT_ARG_NONE, NULL, 'A', "Do a node status on <name> as an IP Address" },
|
||||
POPT_COMMON_SAMBA
|
||||
POPT_COMMON_CONNECTION
|
||||
{ 0, 0, 0, 0 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user