summaryrefslogtreecommitdiffstats
path: root/bin/mv
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mv')
-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 28da455..1d05ad9 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();
}
OpenPOWER on IntegriCloud