Re: cli options
"Daniel C. von Asmuth" <asmuth-8LkvcxCLB6JmR6Xm/[email protected]> Thu, 29 Jan 2004 00:06:30 +0100
| Newsgroups | gmane.linux.usability.annoyances |
|---|---|
| Message-ID | <[email protected]> |
Thus quoth Dexter Filmore on Wed, Jan 28, 2004 at 02:19:38PM +0100: > > -O param, -Oparam, -O=param, -O='param', -option param, --option=param, > --option=param enable etc etc > > even worse, all happily mixed up like in cdrecord ( -v and -eject, but > speed=xx and fs=xx) > For the ps command: - options consisting of a single letter are BSD style options - options consisting of a single letter preceeded by a hyphen or minus sign are System V style options - options consisting of a longer name preceeded by a double hypen (minus sign) are GNU style options Of course, the situation differs per program / command. Too bad, occasionally you have two versions of Linux which support options with the same syntax but different meanings. This is the result of over thirty years of Unix his- tory with many not quite compatible versions. Kind regards, Daniel von Asmuth -- Stop the peace!