diff options
author | Norbert Preining <preining@logic.at> | 2017-05-02 09:57:51 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-05-02 09:57:51 +0000 |
commit | 0b1b85702239b85c013c3a89218bd5cdcce06b04 (patch) | |
tree | 16ff1831bda5b540399d4fa2e933926da81d1cc8 /Master/tlpkg/TeXLive/TLUtils.pm | |
parent | b1a05f99962517802b89401bce8bb62e356a8263 (diff) |
more visible warning messages, rewording
git-svn-id: svn://tug.org/texlive/trunk@44149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 114e553fc50..4426d0dc026 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -4020,7 +4020,7 @@ sub setup_sys_user_mode { $TEXMFVAR, $TEXMFSYSVAR) = @_; if ($optsref->{'user'} && $optsref->{'sys'}) { - print STDERR "$prg [ERROR]: only one of -user and -sys can be used.\n"; + print STDERR "$prg [ERROR]: only one of -sys or -user can be used.\n"; exit(1); } @@ -4053,8 +4053,10 @@ sub setup_sys_user_mode { $texmfconfig = $TEXMFCONFIG; $texmfvar = $TEXMFVAR; } else { - print STDERR "$prg [ERROR]: Either -user or -sys mode is required.\n" . - "See http://tug.org/texlive/scripts-sys-user.html for details.\n"; + print STDERR "" . + "$prg [ERROR]: Either -sys or -user mode is required.\n" . + "$prg [ERROR]: In nearly all cases you should use $prg -sys.\n" . + "$prg [ERROR]: For special cases see http://tug.org/texlive/scripts-sys-user.html\n" ; exit(1); } return ($texmfconfig, $texmfvar); |