diff options
| author | Jonas Häggqvist <rasher@rasher.dk> | 2009-02-27 20:00:45 +0000 |
|---|---|---|
| committer | Jonas Häggqvist <rasher@rasher.dk> | 2009-02-27 20:00:45 +0000 |
| commit | 6d638922e17162c4907dc1e049eecee8a6449ecd (patch) | |
| tree | c4788e0c58ba81b9aed5cee3ddae6a4c92e84883 | |
| parent | 1ab0a50bc1df00602ac66ebbc35b9efc0fdf36a2 (diff) | |
| download | rockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.zip rockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.tar.gz rockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.tar.bz2 rockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.tar.xz | |
Make genlang output errors on STDERR. FS#9668 by Tomer Shalev.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20130 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | tools/genlang | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genlang b/tools/genlang index 21cef99..9f9e904 100755 --- a/tools/genlang +++ b/tools/genlang @@ -89,29 +89,29 @@ my $voiceout = $o; my $check = ($binary?1:0) + ($prefix?1:0) + ($update?1:0) + ($voiceout?1:0) + ($sortfile?1:0); if($check > 1) { - print "Please use only one of -p, -u, -o, -b and -s\n"; + print STDERR "Please use only one of -p, -u, -o, -b and -s\n"; exit; } if(!$check) { - print "Please use at least one of -p, -u, -o, -b and -s\n"; + print STDERR "Please use at least one of -p, -u, -o, -b and -s\n"; exit; } if(($binary || $update || $voiceout || $sortfile) && !$english) { - print "Please use -e too when you use -b, -o, -u or -s\n"; + print STDERR "Please use -e too when you use -b, -o, -u or -s\n"; exit; } my $target_id = $i; if($binary && !$target_id) { - print "Please specify a target id number (with -i)!\n"; + print STDERR "Please specify a target id number (with -i)!\n"; exit; } my $target = $t; if(!$target && !$update && !$sortfile) { - print "Please specify a target (with -t)!\n"; + print STDERR "Please specify a target (with -t)!\n"; exit; } my $verbose=$v; |