Extract usage information into a separate file.

This commit is contained in:
Matt Kraai
2000-07-16 20:57:15 +00:00
parent 3bd8bd89ee
commit bf181b9338
175 changed files with 2529 additions and 2050 deletions

View File

@ -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) {