commit 0e008fe349225461ad93802c48e5e1e2bb60ce85
parent 8d53fc9a79d61b6c4468e39455d5c4642e92336a
Author: sin <sin@2f30.org>
Date: Thu, 19 Feb 2015 14:56:02 +0000
mv: Remove -i from usage and manpage
Diffstat:
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/mv.1 b/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
diff --git a/mv.c b/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();