added -r option to remove extra files.
[unix-history] / usr / src / usr.bin / rdist / main.c
index e5ecc33..faa120b 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)main.c      4.5 (Berkeley) 83/10/12";
+static char *sccsid = "@(#)main.c      4.6 (Berkeley) 83/10/20";
 #endif
 
 #include "defs.h"
 #endif
 
 #include "defs.h"
@@ -88,6 +88,10 @@ main(argc, argv)
                                qflag++;
                                break;
 
                                qflag++;
                                break;
 
+                       case 'r':
+                               options |= REMOVE;
+                               break;
+
                        case 'v':
                                options |= VERIFY;
                                break;
                        case 'v':
                                options |= VERIFY;
                                break;