On 09-07-22 22:51:23, Steven W. Orr wrote:

> Right. There's a standard for how command options should work.
> 
> verb options arguments
> 
> That's why we have getopt and that's why I shudder when I see people
> reinventing wheels.

>From `man 3 getopt`:

    "By  default,  getopt()  permutes  the  contents  of argv as it
    scans, so that eventually all the non-options are at the end."

So, the default "standard" is to allow mixed options and arguments.

-- 
____________________________________________________________________
TonyN.:'                       <mailto:[email protected]>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to