[latex3-commits] [git/LaTeX3-latex3-l3build] master: Remove a redundant help() (632b616)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Mar 6 21:21:34 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/632b61699abf25faf6a3a796963965769e944f1d
>---------------------------------------------------------------
commit 632b61699abf25faf6a3a796963965769e944f1d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Mar 6 19:57:29 2018 +0000
Remove a redundant help()
>---------------------------------------------------------------
632b61699abf25faf6a3a796963965769e944f1d
l3build.lua | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/l3build.lua b/l3build.lua
index d2d91ca..5c6c47e 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -79,13 +79,8 @@ main = main or stdmain
-- Load configuration file if running as a script
if match(arg[0], "l3build(%.lua)$") then
- -- Options which do not need any configuration
- if options["help"] then
- help()
- exit(0)
-- Look for some configuration details
- elseif fileexists("build.lua") then
- -- Force these to be undefined: needed for the reloading step
+ if fileexists("build.lua") then
dofile("build.lua")
else
print("Error: Cannot find configuration build.lua")
More information about the latex3-commits
mailing list