Improve friendliness of --cmdhelp
authorJens Axboe <jens.axboe@oracle.com>
Thu, 1 Mar 2007 13:05:30 +0000 (14:05 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 1 Mar 2007 13:05:30 +0000 (14:05 +0100)
commit0e9f7fac2a501f2baeedd11446e9fe102720c27d
tree46d615125a15184b236f50cb801262aa05d0cd68
parent320beefe2d0c5f05f24b4e0c1d13fcb2f1286a78
Improve friendliness of --cmdhelp

If no match is found, print the closest. Quite handy when
you can't quite remember the exact option name.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
parse.c
parse.h