diff options
author | Norbert Preining <preining@logic.at> | 2008-06-15 18:10:07 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-06-15 18:10:07 +0000 |
commit | 417f51bb71a4b96766492e5a487c593aaf9b35b3 (patch) | |
tree | 6a7d44878ab1fecfbd87e415f91374d5a2744046 /Master/install-tl | |
parent | f023c18726f6f44641879c11d26a310b45963b0d (diff) |
install-tl: allow install-tl gui, but die with any other non-option argument
git-svn-id: svn://tug.org/texlive/trunk@8754 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl index eda10790a0a..59ee145f1c7 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -189,6 +189,16 @@ if ($opt_version) { exit 0; } +if ($#ARGV >= 0) { + # we still have arguments left, should only be gui, otherwise die + if ($ARGV[0] =~ m/^gui$/i) { + $opt_gui = 1; + } else { + die "No arguments to install-tl allowed. Try install-tl --help!"; + } +} + + if (defined($::opt_lang)) { $::lang = $::opt_lang; } |