aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-02-19 05:51:13 +0000
committerPaul Traina <pst@FreeBSD.org>1996-02-19 05:51:13 +0000
commit91e94a1d94f3991a234df78b9082b328bbe4989e (patch)
tree17458a6f109b3f14019b48230ec42669411b4877 /bin
parent247f99f51f7dbda91a11010d545fb537cee8a67b (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/mv/mv.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 28da455ecd6f..1d05ad9fc715 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mv.c,v 1.3 1995/10/07 10:42:48 bde Exp $
+ * $Id: mv.c,v 1.5 1996/02/19 00:44:19 wosch Exp $
*/
#ifndef lint
@@ -79,7 +79,7 @@ main(argc, argv)
int ch;
char path[MAXPATHLEN + 1];
- while ((ch = getopt(argc, argv, "-if")) != EOF)
+ while ((ch = getopt(argc, argv, "if")) != EOF)
switch (ch) {
case 'i':
iflg = 1;
@@ -87,9 +87,6 @@ main(argc, argv)
case 'f':
fflg = 1;
break;
- case '-': /* Undocumented; for compatibility. */
- goto endarg;
- case '?':
default:
usage();
}