Re: kerneltop "enhancements"

From: Paul Mackerras
Date: Sat Feb 07 2009 - 20:17:36 EST


Mike Galbraith writes:

> BTW, how does one convince getopt_long() that an option really really
> doesn't require an argument? no_argument works for the long version,
> but it insists that an argument is required for the short version
> regardless.

Take out the ":" after the "z" in the string argument to getopt_long.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/