diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-19 19:24:01 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-19 19:24:01 +0000 |
commit | 27a804246af28c5d3d1f69d93049e3e21492bc48 (patch) | |
tree | 1532267f0161afd05240909eafea4283247df356 /uptime.c | |
parent | 869057238b4ae1544ee9df28fca4157b041175f9 (diff) | |
download | busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.tar.gz busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.tar.bz2 busybox-w32-27a804246af28c5d3d1f69d93049e3e21492bc48.zip |
Centralize handling of --help.
Diffstat (limited to 'uptime.c')
-rw-r--r-- | uptime.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -46,9 +46,6 @@ extern int uptime_main(int argc, char **argv) | |||
46 | struct tm *current_time; | 46 | struct tm *current_time; |
47 | time_t current_secs; | 47 | time_t current_secs; |
48 | 48 | ||
49 | if (argc > 1 && strcmp(argv[1], "--help") == 0) | ||
50 | usage(uptime_usage); | ||
51 | |||
52 | time(¤t_secs); | 49 | time(¤t_secs); |
53 | current_time = localtime(¤t_secs); | 50 | current_time = localtime(¤t_secs); |
54 | 51 | ||