pupa-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Argument parser


From: Johan Rydberg
Subject: Re: Argument parser
Date: Wed, 17 Dec 2003 18:53:49 +0100

"Yoshinori K. Okuji" <address@hidden> wrote:

: diff -x CVS -x '*~' foo bar
: 
: Normally, most commands assume that only the last specified option is 
: significant, so it might not be necessary to worry about this problem.

The argument parser should not care about this.  It should just
pass the information along to the user-defined parser function,
and let it decide what to do.  This should not be very hard to
implement, with what I've seen of the discussion.

-- 
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/

Playing Alice in videoland - Sweet thing




reply via email to

[Prev in Thread] Current Thread [Next in Thread]