diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/genlang | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genlang b/tools/genlang index 21cef9966b..9f9e904312 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -89,29 +89,29 @@ my $voiceout = $o; | |||
89 | my $check = ($binary?1:0) + ($prefix?1:0) + ($update?1:0) + ($voiceout?1:0) + ($sortfile?1:0); | 89 | my $check = ($binary?1:0) + ($prefix?1:0) + ($update?1:0) + ($voiceout?1:0) + ($sortfile?1:0); |
90 | 90 | ||
91 | if($check > 1) { | 91 | if($check > 1) { |
92 | print "Please use only one of -p, -u, -o, -b and -s\n"; | 92 | print STDERR "Please use only one of -p, -u, -o, -b and -s\n"; |
93 | exit; | 93 | exit; |
94 | } | 94 | } |
95 | if(!$check) { | 95 | if(!$check) { |
96 | print "Please use at least one of -p, -u, -o, -b and -s\n"; | 96 | print STDERR "Please use at least one of -p, -u, -o, -b and -s\n"; |
97 | exit; | 97 | exit; |
98 | } | 98 | } |
99 | 99 | ||
100 | 100 | ||
101 | if(($binary || $update || $voiceout || $sortfile) && !$english) { | 101 | if(($binary || $update || $voiceout || $sortfile) && !$english) { |
102 | print "Please use -e too when you use -b, -o, -u or -s\n"; | 102 | print STDERR "Please use -e too when you use -b, -o, -u or -s\n"; |
103 | exit; | 103 | exit; |
104 | } | 104 | } |
105 | 105 | ||
106 | my $target_id = $i; | 106 | my $target_id = $i; |
107 | if($binary && !$target_id) { | 107 | if($binary && !$target_id) { |
108 | print "Please specify a target id number (with -i)!\n"; | 108 | print STDERR "Please specify a target id number (with -i)!\n"; |
109 | exit; | 109 | exit; |
110 | } | 110 | } |
111 | 111 | ||
112 | my $target = $t; | 112 | my $target = $t; |
113 | if(!$target && !$update && !$sortfile) { | 113 | if(!$target && !$update && !$sortfile) { |
114 | print "Please specify a target (with -t)!\n"; | 114 | print STDERR "Please specify a target (with -t)!\n"; |
115 | exit; | 115 | exit; |
116 | } | 116 | } |
117 | my $verbose=$v; | 117 | my $verbose=$v; |