diff options
| author | Paul Traina <pst@FreeBSD.org> | 1996-02-19 05:57:22 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1996-02-19 05:57:22 +0000 |
| commit | 22471d5338d0f8f40aa26bdbd8f9845da968fc2e (patch) | |
| tree | d14cd14a6470ce36759d4c55aa41f63b88f384e4 /bin | |
| parent | ee4f505e5e1a0e1b9b1a6d67e24cecd9db0208f7 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/rm/rm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index ffe565505241..fd3dd0cfb63f 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.9 1996/02/19 00:44:02 wosch Exp $ */ #ifndef lint @@ -81,7 +81,7 @@ main(argc, argv) { int ch, rflag; - Pflag = rflag = 0; + rflag = 0; while ((ch = getopt(argc, argv, "dfiPRr")) != EOF) switch(ch) { case 'd': @@ -102,7 +102,6 @@ main(argc, argv) case 'r': /* Compatibility. */ rflag = 1; break; - case '?': default: usage(); } @@ -410,6 +409,6 @@ void usage() { - (void)fprintf(stderr, "usage: rm [-dfiRr] file ...\n"); + (void)fprintf(stderr, "usage: rm [-dfiPRr] file ...\n"); exit(1); } |
