diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-17 00:57:15 +0400 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-17 00:57:15 +0400 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /fdflush.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) |
Extract usage information into a separate file.
Diffstat (limited to 'fdflush.c')
-rw-r--r-- | fdflush.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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) { |