diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-03-29 23:55:54 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-03-29 23:55:54 +0000 |
commit | 097a7b52e7394f40dd9fd0ec342336f2c819ec12 (patch) | |
tree | fa58de893a4c3ddeb31b23d015c9ef8c61d8e67f /source3/utils/nmblookup.c | |
parent | 19a384a54c678e9e064a79abeb1cfa39f9201896 (diff) | |
download | samba-097a7b52e7394f40dd9fd0ec342336f2c819ec12.tar.gz samba-097a7b52e7394f40dd9fd0ec342336f2c819ec12.tar.bz2 samba-097a7b52e7394f40dd9fd0ec342336f2c819ec12.zip |
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)
Diffstat (limited to 'source3/utils/nmblookup.c')
-rw-r--r-- | source3/utils/nmblookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" }, |