Another update from Larry:
[oweals/busybox.git] / which.c
diff --git a/which.c b/which.c
index 981a8acf50f7940b4de01d32e7b59a920055e759..1d75244654571c73923d20a97c0aa4473cab74fc 100644 (file)
--- a/which.c
+++ b/which.c
  *
  */
 
-#include "busybox.h"
+/* getopt not needed */
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include "busybox.h"
 
 extern int which_main(int argc, char **argv)
 {
@@ -33,7 +34,7 @@ extern int which_main(int argc, char **argv)
        int i, count=1, found, status = EXIT_SUCCESS;
 
        if (argc <= 1 || **(argv + 1) == '-')
-               usage(which_usage);
+               show_usage();
        argc--;
 
        path_list = getenv("PATH");