rm: Remove -i from usage and manpage
We do not support it so do not lie to the user.
This commit is contained in:
parent
bf5f6a08a4
commit
8d53fc9a79
8
rm.1
8
rm.1
@ -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
5
rm.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user