Messages in this thread | | | Date | Sun, 27 Apr 2008 00:22:35 +1000 | From | Nick Andrew <> | Subject | Re: [PATCH] headerdep: a tool for detecting inclusion cycles in header file |
| |
On Sat, Apr 26, 2008 at 04:17:15PM +0200, Vegard Nossum wrote: > I didn't want to get into the lands of parsing options since we would > need to handle gcc options and skip arguments to those, etc.
?
use Getopt::Std qw(getopts);
use vars qw($opt_g);
getopts('g');
[...]
if ($opt_g) { graph(); }
Nick. -- PGP Key ID = 0x418487E7 http://www.nick-andrew.net/ PGP Key fingerprint = B3ED 6894 8E49 1770 C24A 67E3 6266 6EB9 4184 87E7
| |