diff options
Diffstat (limited to 'hostid.c')
-rw-r--r-- | hostid.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ | |||
25 | 25 | ||
26 | extern int hostid_main(int argc, char **argv) | 26 | extern 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 | } |