[hackers] [sbase] mv: Remove -i from usage and manpage || sin
commit efb55dfc6d6e2e673367bd80fa706bfca7564cd5
Author: sin <sin_AT_2f30.org>
Date: Thu Feb 19 14:56:02 2015 +0000
mv: Remove -i from usage and manpage
diff --git a/mv.1 b/mv.1
index 0b77051..b3ec35d 100644
--- a/mv.1
+++ b/mv.1
_AT_@ -1,4 +1,4 @@
-.Dd January 28, 2015
+.Dd February 19, 2015
.Dt MV 1
.Os sbase
.Sh NAME
_AT_@ -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
_AT_@ -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
index b57b4c3..7481597 100644
--- a/mv.c
+++ b/mv.c
_AT_@ -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
_AT_@ -38,7 +38,6 @@ main(int argc, char *argv[])
ARGBEGIN {
case 'f':
- case 'i':
break;
default:
usage();
Received on Thu Feb 19 2015 - 15:56:42 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 19 2015 - 16:00:12 CET