X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=networking%2Fnslookup.c;h=8791b5efee4aa66d998d52bc874b44863e65a3fc;hb=fa45f22e5099e093d09ea41144b76ef1a6464bfd;hp=1f37e313f1841a8f1e28bee5a28dad2c613e99f9;hpb=ed3ef50c233ffb1b50ea0e7382a8e60b86491009;p=oweals%2Fbusybox.git diff --git a/networking/nslookup.c b/networking/nslookup.c index 1f37e313f..8791b5efe 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c @@ -2,7 +2,7 @@ /* * Mini nslookup implementation for busybox * - * Copyright (C) 2000 by Lineo, inc. + * Copyright (C) 1999,2000,2001 by Lineo, inc. * Written by John Beppu * * This program is free software; you can redistribute it and/or modify @@ -21,7 +21,6 @@ * */ -#include "busybox.h" #include #include #include @@ -32,6 +31,7 @@ #include #include #include +#include "busybox.h" /* | I'm only implementing non-interactive mode; @@ -157,7 +157,7 @@ int nslookup_main(int argc, char **argv) struct hostent *host; if (argc < 2 || *argv[1]=='-') { - usage(nslookup_usage); + show_usage(); } server_print(); @@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv) return EXIT_SUCCESS; } -/* $Id: nslookup.c,v 1.19 2001/01/27 08:24:37 andersen Exp $ */ +/* $Id: nslookup.c,v 1.22 2001/02/20 06:14:08 andersen Exp $ */