Update internal.h to conditionally include asm/string.h
[oweals/busybox.git] / mkdir.c
diff --git a/mkdir.c b/mkdir.c
index 54d9b7241e24290f5a2dbc6bdd4f5313ece4aa7d..b18c949b844d68c19903852b2e0c438d849eeb3d 100644 (file)
--- a/mkdir.c
+++ b/mkdir.c
 #include <errno.h>
 
 static const char mkdir_usage[] =
-       "mkdir [OPTION] DIRECTORY...\n\n"
-       "Create the DIRECTORY(ies), if they do not already exist\n\n"
+       "mkdir [OPTION] DIRECTORY...\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+       "\nCreate the DIRECTORY(ies), if they do not already exist\n\n"
        "Options:\n"
 
        "\t-m\tset permission mode (as in chmod), not rwxrwxrwx - umask\n"
-       "\t-p\tno error if existing, make parent directories as needed\n";
+       "\t-p\tno error if existing, make parent directories as needed\n"
+#endif
+       ;
 
 
 static int parentFlag = FALSE;
@@ -109,5 +112,5 @@ extern int mkdir_main(int argc, char **argv)
                argc--;
                argv++;
        }
-       exit TRUE;
+       return( TRUE);
 }