It would be nice if every littleutil supported --help,
and --version in the GNU fashion.
Logged In: YES
Hmmm... I've actually thought about adding GNU style
options but I haven't been able to find a clean way to do
it. For the utilities written in C and Perl, I could use
the getopt_long function instead of getopt, but this would
have to be handled carefully to avoid affecting portability
on systems without getopt_long. And as for the utilities
written in Bash, I don't know what to do at all.
Just for reference, though, I'll note that almost all of the
littleutils have the "-h" option flag. Using it causes the
program version and a brief usage synopsis to be printed.
Log in to post a comment.