Making note of my changes
[oweals/busybox.git] / rmdir.c
diff --git a/rmdir.c b/rmdir.c
index b4da03f1296ea85fe1b5dfc553cc0d95101faf09..013fef1a4e5e2140dba139c71ec1ae1bc5a52275 100644 (file)
--- a/rmdir.c
+++ b/rmdir.c
@@ -1,7 +1,9 @@
 /*
  * Mini rmdir implementation for busybox
  *
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ *
+ * Copyright (C) 1999 by Lineo, inc.
+ * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,8 +29,7 @@
 extern int rmdir_main(int argc, char **argv)
 {
     if ( argc==1 || **(argv+1) == '-' ) {
-       fprintf(stderr, "Usage: rmdir [OPTION]... DIRECTORY...\nRemove the DIRECTORY(ies), if they are empty.");
-       exit(FALSE);
+       usage( "rmdir [OPTION]... DIRECTORY...\n\nRemove the DIRECTORY(ies), if they are empty.\n");
     }
 
     while (--argc > 0) {