summaryrefslogtreecommitdiff
path: root/networking/nslookup.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-14 21:23:06 +0000
commit67991cf824f8df27e74c92d754fb507681c69ce6 (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /networking/nslookup.c
parent68be2ab914e1e20fe666bbd22a89a18714be2789 (diff)
downloadbusybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.gz
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.tar.bz2
busybox-w32-67991cf824f8df27e74c92d754fb507681c69ce6.zip
This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
Diffstat (limited to 'networking/nslookup.c')
-rw-r--r--networking/nslookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nslookup.c b/networking/nslookup.c
index 8bfcd5785..33732de68 100644
--- a/networking/nslookup.c
+++ b/networking/nslookup.c
@@ -157,7 +157,7 @@ int nslookup_main(int argc, char **argv)
157 struct hostent *host; 157 struct hostent *host;
158 158
159 if (argc < 2 || *argv[1]=='-') { 159 if (argc < 2 || *argv[1]=='-') {
160 usage(nslookup_usage); 160 show_usage();
161 } 161 }
162 162
163 server_print(); 163 server_print();
@@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv)
170 return EXIT_SUCCESS; 170 return EXIT_SUCCESS;
171} 171}
172 172
173/* $Id: nslookup.c,v 1.20 2001/01/27 09:33:38 andersen Exp $ */ 173/* $Id: nslookup.c,v 1.21 2001/02/14 21:23:06 andersen Exp $ */