Added mappings for a few messages.
[wine] / tools / winapi / winapi_fixup_options.pm
1 package winapi_fixup_options;
2 use base qw(options);
3
4 use strict;
5
6 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
7 require Exporter;
8
9 @ISA = qw(Exporter);
10 @EXPORT = qw();
11 @EXPORT_OK = qw($options);
12
13 use options qw($options &parse_comma_list);
14
15 my %options_long = (
16     "debug" => { default => 0, description => "debug mode" },
17     "help" => { default => 0, description => "help mode" },
18     "verbose" => { default => 0, description => "verbose mode" },
19
20     "progress" => { default => 1, description => "show progress" },
21
22     "win16" => { default => 1, description => "Win16 fixup" },
23     "win32" => { default => 1, description => "Win32 fixup" },
24
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" },
34
35     "global" => { default => 1, description => "global fixup" },
36
37     "modify" => { default => 0, description => "actually perform the fixups" },     
38 );
39
40 my %options_short = (
41     "d" => "debug",
42     "?" => "help",
43     "v" => "verbose"
44 );
45
46 my $options_usage = "usage: winapi_fixup [--help] [<files>]\n";
47
48 $options = '_options'->new(\%options_long, \%options_short, $options_usage);
49
50 1;