equal
deleted
inserted
replaced
42 my @Imports = (); |
42 my @Imports = (); |
43 |
43 |
44 # Version |
44 # Version |
45 my $MajorVersion = 1; |
45 my $MajorVersion = 1; |
46 my $MinorVersion = 1; |
46 my $MinorVersion = 1; |
47 my $PatchVersion = 0; |
47 my $PatchVersion = 1; |
48 |
48 |
49 |
49 |
50 { |
50 { |
51 unless (GetOptions(\%Options, 'sym=s', 'o=s', 'map=s', 'ignore_export_dir')) { |
51 unless (GetOptions(\%Options, 'sym=s', 'o=s', 'map=s', 'ignore_export_dir','h')) { |
52 exit 1; |
52 exit 1; |
53 } |
53 } |
54 $ImportSymFile = $Options{sym}; |
54 $ImportSymFile = $Options{sym}; |
55 $CppFile = $Options{o}; |
55 $CppFile = $Options{o}; |
56 $mapFile = $Options{map}; |
56 $mapFile = $Options{map}; |
57 $IgnoreExportDir = $Options{ignore_export_dir}; |
57 $IgnoreExportDir = $Options{ignore_export_dir}; |
58 |
58 |
59 unless($ImportSymFile) |
59 my $help = $Options{h}; |
60 { |
60 if($help) { |
61 print( |
61 print( |
62 "\n", |
62 "\n", |
63 "SYM_LKUP_UTIL symbol process tool V$MajorVersion.$MinorVersion.$PatchVersion\n", |
63 "SYM_LKUP_UTIL symbol process tool V$MajorVersion.$MinorVersion.$PatchVersion\n", |
64 "\n", |
64 "\n", |
65 "options:\n", |
65 "options:\n", |
66 " -sym symbol file\n", |
66 " -sym\tsymbol file\n", |
67 " -o output file\n", |
67 " -o\toutput file\n", |
68 " -map map file\n", |
68 " -map\tmap file\n", |
|
69 " -h\tprint this message\n", |
69 "\n" |
70 "\n" |
70 ); |
71 ); |
71 exit 1; |
72 exit 1; |
72 } |
73 } |
73 |
74 |