when i first wrote enew{user,group} oh-so-long-ago, the reason for the [extra] 
arguments was the assumption that i am short sighted.  i figured someone would 
come up with some creative need for passing additional flags that i couldn't 
possibly think of.

however, in the ~9 years since, all i have to report is disappointment in the 
collective lack of creativity when it comes to abusing open ended interfaces.  
two flags have surfaced in the main tree with enewuser, and only in a handful 
of ebuilds:
        -c <comment>
        -G <groups>
enewgroup hasn't had any extra args !

when it comes to -c, the custom comment in the ebuilds isn't all that better 
than the default one that enewuser already adds, so i've punted them.

when it comes to -G, it's a matter of the existing argument not being 
correctly utilized.  enewuser already takes care of splitting the <groups> 
argument into -g/-G.  so i've converted the packages using this.

back to the point of this e-mail ... i plan on dropping the [extra] part of 
enew{user,group} and changing this to a `die`.  this simplifies the interface, 
and makes it more portable -- the darwin port has already been calling `die` 
when people pass in extra args.

now is the time to whine if you want to keep this !
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to