BSD 4_3 release
[unix-history] / usr / src / bin / rmdir.c
index 2557f9f..dd84de3 100644 (file)
@@ -1,4 +1,19 @@
-static char *sccsid = "@(#)rmdir.c     4.7 (Berkeley) 12/19/82";
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1983 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif not lint
+
+#ifndef lint
+static char sccsid[] = "@(#)rmdir.c    5.1 (Berkeley) 4/30/85";
+#endif not lint
+
 /*
  * Remove directory
  */
 /*
  * Remove directory
  */
@@ -11,7 +26,7 @@ main(argc,argv)
        int errors = 0;
 
        if (argc < 2) {
        int errors = 0;
 
        if (argc < 2) {
-               fprintf(stderr, "rmdir: arg count\n");
+               fprintf(stderr, "usage: %s directory ...\n", argv[0]);
                exit(1);
        }
        while (--argc)
                exit(1);
        }
        while (--argc)