Re: Adding groups to a user

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

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux