Gregory Leblanc <[EMAIL PROTECTED]> writes:
| Well, this is a pretty obvious one.  The system that I'm running is
| RH6.1 with all of the updates they have available installed.
|
| [gleblanc@peecee gleblanc]$ cksum --help crash
| cksum: unrecognized option `--help'
| Try `cksum --help' for more information.
| [gleblanc@peecee gleblanc]$
|
| Here's the version of textutils that I'm using.
|
| [gleblanc@peecee gleblanc]$ rpm -q textutils
| textutils-2.0-2
| [gleblanc@peecee gleblanc]$

Thanks for the report.
Many GNU tools recognize --help and --version only
when that option is the only command line argument.
If you do as the diagnostic suggests, however, you'd get this:

  $ cksum --help
  Usage: cksum [OPTION]... [FILE]...
  Print CRC checksum and byte counts of each FILE.

    --help      display this help and exit
    --version   output version information and exit

which is inaccurate.
I've changed the first part to be like this instead:

  Usage: ./cksum [FILE]...
    or:  ./cksum [OPTION]

...though I'm not sure it's worth the trouble.

Reply via email to