diff options
author | Eric Andersen | 2001-02-17 16:52:35 +0000 |
---|---|---|
committer | Eric Andersen | 2001-02-17 16:52:35 +0000 |
commit | b50da53e0c6e07bbf69ac7ec1730087edf6815a1 (patch) | |
tree | 6eddca7dd6a5a4a4e11ffee856d408067fdc576f /coreutils | |
parent | 3d20f772c2dc55acdc5f3503e7e308c387e4e15c (diff) | |
download | busybox-b50da53e0c6e07bbf69ac7ec1730087edf6815a1.zip busybox-b50da53e0c6e07bbf69ac7ec1730087edf6815a1.tar.gz |
Get rid of long stale usage message code.
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/df.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index 8b6726b..692205a 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -85,7 +85,7 @@ extern int df_main(int argc, char **argv) int opt = 0; int i = 0; - while ((opt = getopt(argc, argv, "?" + while ((opt = getopt(argc, argv, #ifdef BB_FEATURE_HUMAN_READABLE "hm" #endif @@ -100,7 +100,8 @@ extern int df_main(int argc, char **argv) #else case 'k': break; #endif - case '?': goto print_df_usage; break; + default: + show_usage(); } } @@ -141,10 +142,6 @@ extern int df_main(int argc, char **argv) } return status; - -print_df_usage: - show_usage(); - return(FALSE); } /* |