aboutsummaryrefslogtreecommitdiff
path: root/fdflush.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /fdflush.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'fdflush.c')
-rw-r--r--fdflush.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/fdflush.c b/fdflush.c
index d9937355f..6bc3e7d66 100644
--- a/fdflush.c
+++ b/fdflush.c
@@ -34,13 +34,8 @@ extern int fdflush_main(int argc, char **argv)
int value;
int fd;
- if (argc <= 1 || **(++argv) == '-') {
- usage("fdflush DEVICE\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nForces floppy disk drive to detect disk change\n"
-#endif
- );
- }
+ if (argc <= 1 || **(++argv) == '-')
+ usage(fdflush_usage);
fd = open(*argv, 0);
if (fd < 0) {