Added some words on use of getopt in applets.
[oweals/busybox.git] / mt.c
diff --git a/mt.c b/mt.c
index 683804b5a90458d654676075b878f6b01f805514..350d3ae5a629f887871c16708ceccfd1b92d6d03 100644 (file)
--- a/mt.c
+++ b/mt.c
@@ -1,9 +1,9 @@
 /* vi: set sw=4 ts=4: */
-#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/mtio.h>
 #include <sys/fcntl.h>
+#include "busybox.h"
 
 struct mt_opcodes {
        char *name;
@@ -57,12 +57,12 @@ extern int mt_main(int argc, char **argv)
        int fd;
        
        if (argc < 2) {
-               usage(mt_usage);
+               show_usage();
        }
 
        if (strcmp(argv[1], "-f") == 0) {
                if (argc < 4) {
-                       usage(mt_usage);
+                       show_usage();
                }
                file = argv[2];
                argv += 2;