﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
184	emxomfar does not accept '-' before command parameter	Yuri Dario	bird	"While ar accepts an optional '-' before the command char, emxomfar doesn't because it checks for -p and then aborts.

Proposed patch ignores also letters for valid commands


{{{
Index: emxomfar.c
===================================================================
--- emxomfar.c	(revision 3287)
+++ emxomfar.c	(working copy)
@@ -271,6 +271,11 @@
             usage ();
           ++i;
           break;
+        case 'd':	// also these option can have an optional '-', ignore.
+        case 'r':
+        case 't':
+        case 'x':
+          break;
         default:
           usage ();
         }

}}}

Diff is taken from libc 0.6.x tree.
"	defect	closed	normal	libc-0.6.4	emx	0.6.2	normal	fixed	emxomfar	
