summaryrefslogtreecommitdiff
path: root/hostid.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-19 18:01:00 +0000
committerMatt Kraai <kraai@debian.org>2000-07-19 18:01:00 +0000
commit2f46b664b7d7b51319d21b7c2d6b3ca817f5e1c4 (patch)
treed728fbd078450989fefcce5d372db867899e3056 /hostid.c
parent91a4400fd5a74c6e954b22b276dd38c7ffaeae33 (diff)
downloadbusybox-w32-2f46b664b7d7b51319d21b7c2d6b3ca817f5e1c4.tar.gz
busybox-w32-2f46b664b7d7b51319d21b7c2d6b3ca817f5e1c4.tar.bz2
busybox-w32-2f46b664b7d7b51319d21b7c2d6b3ca817f5e1c4.zip
Add usage messages for applets without them.
Diffstat (limited to 'hostid.c')
-rw-r--r--hostid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostid.c b/hostid.c
index f1010a65d..3bf79de47 100644
--- a/hostid.c
+++ b/hostid.c
@@ -25,6 +25,9 @@
25 25
26extern int hostid_main(int argc, char **argv) 26extern int hostid_main(int argc, char **argv)
27{ 27{
28 if (argc > 1 && strcmp(argv[1], "--help") == 0)
29 usage(hostid_usage);
30
28 printf("%lx\n", gethostid()); 31 printf("%lx\n", gethostid());
29 return(TRUE); 32 return(TRUE);
30} 33}