From 0b1b85702239b85c013c3a89218bd5cdcce06b04 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 2 May 2017 09:57:51 +0000 Subject: more visible warning messages, rewording git-svn-id: svn://tug.org/texlive/trunk@44149 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/TeXLive/TLUtils.pm') 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); -- cgit v1.2.3