#include <sys/mtio.h>
#include <sys/fcntl.h>
-static const char mt_usage[] = "mt [-f device] opcode value\n\n"
- "Control magnetic tape drive operation\n";
+static const char mt_usage[] = "mt [-f device] opcode value\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nControl magnetic tape drive operation\n"
+#endif
+ ;
struct mt_opcodes {
char *name;
struct mtop op;
int fd;
- if ((argc != 2 && argc != 3) || **(argv + 1) == '-') {
+ if ((argc != 2 && argc != 3) && **(argv + 1) != '-') {
usage(mt_usage);
}
exit (FALSE);
}
- exit (TRUE);
+ return (TRUE);
}