diff options
| author | Paul Traina <pst@FreeBSD.org> | 1996-02-18 19:54:04 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1996-02-18 19:54:04 +0000 |
| commit | daf6f1eb4eaf3c786582711c13fb20b8c926f5d4 (patch) | |
| tree | 7619e4e50ae62be865eedc03cc309b2aefadde67 /bin/rm | |
| parent | 921e4281bd4a130027c920c4e7ca26ad30245cd4 (diff) | |
Notes
Diffstat (limited to 'bin/rm')
| -rw-r--r-- | bin/rm/rm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index d7a5bf7fd5b1..f9ce8d1c2434 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: rm.c,v 1.6 1995/04/13 13:35:09 ache Exp $ + * $Id: rm.c,v 1.7 1996/02/18 19:00:59 wosch Exp $ */ #ifndef lint @@ -81,9 +81,9 @@ main(argc, argv) { int ch, rflag; - dflag = fflag = iflag = Pflag = rflag = 0; - stdin_ok = 0; - while ((ch = getopt(argc, argv, "dfiPRr?")) != EOF) + rflag = 0; + + while ((ch = getopt(argc, argv, "dfiPRr")) != EOF) switch(ch) { case 'd': dflag = 1; @@ -103,7 +103,6 @@ main(argc, argv) case 'r': /* Compatibility. */ rflag = 1; break; - case '?': default: usage(); } |
