[latex3-commits] [git/LaTeX3-latex3-l3build] master: Correct help() string (see #110) (c4e26da)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Feb 16 19:58:21 CET 2020


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/c4e26da8a4ce2580399a9012d7da3a65edf1e2c1

>---------------------------------------------------------------

commit c4e26da8a4ce2580399a9012d7da3a65edf1e2c1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Feb 16 18:53:22 2020 +0000

    Correct help() string (see #110)


>---------------------------------------------------------------

c4e26da8a4ce2580399a9012d7da3a65edf1e2c1
 l3build-help.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3build-help.lua b/l3build-help.lua
index 8c38775..145378d 100644
--- a/l3build-help.lua
+++ b/l3build-help.lua
@@ -1,6 +1,6 @@
 --[[
 
-File l3build-help.lua Copyright (C) 2018 The LaTeX3 Project
+File l3build-help.lua Copyright (C) 2018,2020 The LaTeX3 Project
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -53,7 +53,7 @@ function help()
   end
 
   local scriptname = "l3build"
-  if not match(arg[0], "l3build(%.lua)$") then
+  if not (match(arg[0], "l3build%.lua$") or match(arg[0],"l3build$")) then
     scriptname = arg[0]
   end
   print("usage: " .. scriptname .. " <command> [<options>] [<names>]")





More information about the latex3-commits mailing list.