[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);