rm: Remove -i from usage and manpage

We do not support it so do not lie to the user.
This commit is contained in:
sin 2015-02-19 14:54:12 +00:00
parent bf5f6a08a4
commit 8d53fc9a79
2 changed files with 5 additions and 8 deletions

8
rm.1
View File

@ -1,4 +1,4 @@
.Dd January 30, 2015
.Dd February 19, 2015
.Dt RM 1
.Os sbase
.Sh NAME
@ -6,7 +6,7 @@
.Nd remove directory entries
.Sh SYNOPSIS
.Nm
.Op Fl f | Fl i
.Op Fl f
.Op Fl Rr
.Ar file ...
.Sh DESCRIPTION
@ -22,8 +22,8 @@ or
is specified.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f | Fl i
Do not prompt | Prompt before removing
.It Fl f
Do not prompt before removing.
.Ar file .
In the former case, do not report when
.Ar file

5
rm.c
View File

@ -5,7 +5,7 @@
static void
usage(void)
{
eprintf("usage: %s [-f | -i] [-Rr] file ...\n", argv0);
eprintf("usage: %s [-f] [-Rr] file ...\n", argv0);
}
int
@ -15,9 +15,6 @@ main(int argc, char *argv[])
case 'f':
rm_fflag = 1;
break;
case 'i':
rm_fflag = 0;
break;
case 'R':
case 'r':
rm_rflag = 1;