summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm8
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);