X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=nslookup.c;h=54f37c8481d690b12f456b429fd1bd789a45601d;hb=e714bce003a1b0e2c49e58fe14af86abc8b31f23;hp=e4bf52f803fd8de70f2c128d7b73a024488eb38f;hpb=5afc864422e8c572a13b3e48df47fd0e56cfbb74;p=oweals%2Fbusybox.git diff --git a/nslookup.c b/nslookup.c index e4bf52f80..54f37c848 100644 --- a/nslookup.c +++ b/nslookup.c @@ -41,7 +41,11 @@ | + find out how the real nslookup gets the default name server */ -static const char nslookup_usage[] = "nslookup [HOST]\n\nQueries the nameserver for the IP address of the given HOST\n"; +static const char nslookup_usage[] = "nslookup [HOST]\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nQueries the nameserver for the IP address of the given HOST\n" +#endif +; /* I have to see how the real nslookup does this. @@ -170,7 +174,7 @@ int nslookup_main(int argc, char **argv) host = gethostbyname(argv[1]); } hostent_fprint(host, stdout); - exit( TRUE); + return( TRUE); } -/* $Id: nslookup.c,v 1.8 2000/05/02 00:07:56 erik Exp $ */ +/* $Id: nslookup.c,v 1.10 2000/06/19 17:25:40 andersen Exp $ */