Adding groups to a user

Tony Nelson tonynelson at georgeanelson.com
Thu Jul 23 03:20:10 UTC 2009


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:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list