From 097a7b52e7394f40dd9fd0ec342336f2c819ec12 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Mar 2003 23:55:54 +0000 Subject: fixed the -U option in nmblookup please remember to *test* your changes before committing them. This is especially the case when you receive patches from outside the team - before you commit you must make sure that the patch actually works. (This used to be commit 1d3c7e7fb628a528978f345f83289cc7f2521c35) --- source3/utils/nmblookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/nmblookup.c') diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 31c7967a07..d4d43796a0 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -195,7 +195,7 @@ int main(int argc,char *argv[]) POPT_AUTOHELP { "broadcast", 'b', POPT_ARG_STRING, NULL, 'B', "Specify address to use for broadcasts", "BROADCAST-ADDRESS" }, { "flags", 'f', POPT_ARG_VAL, &give_flags, True, "List the NMB flags returned" }, - { "unicast", 'U', POPT_ARG_NONE, NULL, 'U', "Specify address to use for unicast" }, + { "unicast", 'U', POPT_ARG_STRING, NULL, 'U', "Specify address to use for unicast" }, { "master-browser", 'M', POPT_ARG_VAL, &find_master, True, "Search for a master browser" }, { "recursion", 'R', POPT_ARG_VAL, &recursion_desired, True, "Set recursion desired in package" }, { "status", 'S', POPT_ARG_VAL, &find_status, True, "Lookup node status as well" }, -- cgit