POSIX command line utility conventions
It probably makes sense to follow the standardized Utility Conventions when writing command line utilities (which we're doing in PHP a lot these days)...
See also the chapter on Command-Line Options in The Art of Unix Programming.