From: Chris Mason Date: Mon, 20 Aug 2012 19:30:38 +0000 (-0400) Subject: iowatcher: Fix --help definition X-Git-Tag: blktrace-1.1.0~2^2~56 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=5a870f239640c5c1b7b6f5263e548c1a816021c1;p=blktrace.git iowatcher: Fix --help definition Signed-off-by: Chris Mason --- diff --git a/iowatcher/main.c b/iowatcher/main.c index c905dd8..583a5b4 100644 --- a/iowatcher/main.c +++ b/iowatcher/main.c @@ -922,7 +922,7 @@ static struct option long_options[] = { {"movie", no_argument, 0, 'm'}, {"width", required_argument, 0, 'w'}, {"height", required_argument, 0, 'h'}, - {"help", required_argument, 0, HELP_LONG_OPT}, + {"help", no_argument, 0, HELP_LONG_OPT}, {0, 0, 0, 0} };