mv: Remove -i from usage and manpage
This commit is contained in:
parent
8d53fc9a79
commit
0e008fe349
8
mv.1
8
mv.1
|
@ -1,4 +1,4 @@
|
|||
.Dd January 28, 2015
|
||||
.Dd February 19, 2015
|
||||
.Dt MV 1
|
||||
.Os sbase
|
||||
.Sh NAME
|
||||
|
@ -6,7 +6,7 @@
|
|||
.Nd move files and directories
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl f | Fl i
|
||||
.Op Fl f
|
||||
.Ar source ...
|
||||
.Ar destination
|
||||
.Sh DESCRIPTION
|
||||
|
@ -24,8 +24,8 @@ is not a directory,
|
|||
overwrites the latter with the former.
|
||||
.Sh OPTIONS
|
||||
.Bl -tag -width Ds
|
||||
.It Fl f | Fl i
|
||||
Do not prompt | Prompt before overwriting
|
||||
.It Fl f
|
||||
Do not prompt before overwriting.
|
||||
.Ar destination .
|
||||
Prompting has not been implemented yet.
|
||||
.El
|
||||
|
|
3
mv.c
3
mv.c
|
@ -28,7 +28,7 @@ mv(const char *s1, const char *s2, char ff)
|
|||
static void
|
||||
usage(void)
|
||||
{
|
||||
eprintf("usage: %s [-f | -i] source... dest\n", argv0);
|
||||
eprintf("usage: %s [-f] source... dest\n", argv0);
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -38,7 +38,6 @@ main(int argc, char *argv[])
|
|||
|
||||
ARGBEGIN {
|
||||
case 'f':
|
||||
case 'i':
|
||||
break;
|
||||
default:
|
||||
usage();
|
||||
|
|
Loading…
Reference in New Issue
Block a user