1 package winapi_fixup_options;
6 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
11 @EXPORT_OK = qw($options);
13 use options qw($options &parse_comma_list);
16 "debug" => { default => 0, description => "debug mode" },
17 "help" => { default => 0, description => "help mode" },
18 "verbose" => { default => 0, description => "verbose mode" },
20 "progress" => { default => 1, description => "show progress" },
22 "win16" => { default => 1, description => "Win16 fixup" },
23 "win32" => { default => 1, description => "Win32 fixup" },
25 "local" => { default => 1, description => "local fixup" },
26 "documentation" => { default => 1, parent => "local", description => "documentation fixup" },
27 "documentation-missing" => { default => 1, parent => "documentation", description => "documentation missing fixup" },
28 "documentation-name" => { default => 1, parent => "documentation", description => "documentation name fixup" },
29 "documentation-ordinal" => { default => 1, parent => "documentation", description => "documentation ordinal fixup" },
30 "documentation-wrong" => { default => 1, parent => "documentation", description => "documentation wrong fixup" },
31 "statements" => { default => 1, parent => "local", description => "statements fixup" },
32 "statements-windowsx" => { default => 1, parent => "local", description => "statements windowsx fixup" },
33 "stub" => { default => 0, parent => "local", description => "stub fixup" },
35 "global" => { default => 1, description => "global fixup" },
37 "modify" => { default => 0, description => "actually perform the fixups" },
46 my $options_usage = "usage: winapi_fixup [--help] [<files>]\n";
48 $options = '_options'->new(\%options_long, \%options_short, $options_usage);