commit | 29fc6afe1bfcb97dd7f33d8e58b99b2d93237d47 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Jan 09 21:22:02 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jan 09 21:22:02 2007 +0100 |
tree | 9aa72a056dc17fe80c66b867b0a4ae7a99ef3e1b | |
parent | fd28ca4948aa67b76585c6c23d7f70a2cdc7a0d5 [diff] [blame] |
[PATCH] Complain if bad option given to 'cmdhelp' Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/init.c b/init.c index 4ac2783..aca607d 100644 --- a/init.c +++ b/init.c
@@ -1205,8 +1205,8 @@ usage(); exit(0); case 'c': - show_cmd_help(options, optarg); - exit(0); + ret = show_cmd_help(options, optarg); + exit(ret); case 'v': printf("%s\n", fio_version_string); exit(0);