mv: Remove -i from usage and manpage

This commit is contained in:
sin 2015-02-19 14:56:02 +00:00
parent 8d53fc9a79
commit 0e008fe349
2 changed files with 5 additions and 6 deletions

8
mv.1
View File

@ -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
View File

@ -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();