cvs commit: src/usr.sbin/pkg_install/add main.c pkg_add.1 src/usr.sbin/pkg_install/create main.c pkg_create.1 src/usr.sbin/pkg_install/delete main.c pkg_delete.1 src/usr.sbin/pkg_install/info main.c pkg_info.1 ...

Maxim Sobolev sobomax at FreeBSD.org
Wed Jun 4 20:03:54 UTC 2008


Coleman Kane wrote:
>> Where do we stop?  Should we add long options to all
>> /usr/bin utilities?  Why stop at /usr/bin, let's add
>> long options to /usr/sbin, /bin, /sbin, /rescue, etc.
>>
> 
> I'm sure if someone has some "add long options to /bin/cp, etc..."
> patches, we can surely discuss them on this list as adults and respect
> the decision to add new features without deprecating any existing
> features, even if we won't be making use of those new features.

Please don't. Idea to add "long" options to existing "short" ones in 
base system utilities is very short-sighted. It could look like a cool 
pet project for somebody learning how to use C ("gee, ma, look, I have 
made a huge improvement in FreeBSD cp(1) in less than 10 minutes of 
work"), but in the long run it will hurt us all since sooner or later 
you will find yourself struggling with scripts that don't work on 
release X just because it was created on release X+N and therefore uses 
those cool new long options.

-Maxim


More information about the cvs-src mailing list