On Thursday 27. March 2008, Alvaro Herrera wrote:
>Zdenek Kotala wrote:
>> And what about two commands one for create and one for drop?
>> It save 6 or 4 chars.
>>
>> pgc db (as create db)
>> pgc user
>> pgd db (as drop db)
>> pgd user
>
>Well, there are things besides create and drop -- for example vacuum.
I figure something like the more or less standard options for modern
*nixes, with short and long options like eg.
pgc -C, --createdb
pgc -a, --adduser
pgc -m, --modify
pgc -D, --dropdb
etc.
Probably the short options should be capitals for db stuff, small
letters for user stuff.
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/