1 package winapi_extract_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 extraction" },
23 "win32" => { default => 1, description => "Win32 extraction" },
25 "local" => { default => 1, description => "local extraction" },
26 "global" => { default => 1, description => "global extraction" },
28 "spec-files" => { default => 1, parent => "global", description => "spec files extraction" },
29 "stub-statistics" => { default => 1, parent => "global", description => "stub statistics" },
38 my $options_usage = "usage: winapi_extract [--help] [<files>]\n";
40 $options = '_options'->new(\%options_long, \%options_short, $options_usage);