[latex3-commits] [git/LaTeX3-latex3-l3build] master: Update l3build-arguments.lua (9adf9c4)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Jan 29 17:06:23 CET 2021
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/9adf9c4801c6abf040b1eeb7bce83fdd0df92871
>---------------------------------------------------------------
commit 9adf9c4801c6abf040b1eeb7bce83fdd0df92871
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date: Fri Jan 29 16:42:01 2021 +0100
Update l3build-arguments.lua
>---------------------------------------------------------------
9adf9c4801c6abf040b1eeb7bce83fdd0df92871
l3build-arguments.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/l3build-arguments.lua b/l3build-arguments.lua
index 3d3e2bb..80f19d6 100644
--- a/l3build-arguments.lua
+++ b/l3build-arguments.lua
@@ -239,21 +239,21 @@ local function argparse()
if optarg then
local opt = "-" .. (match(a, "^%-%-") and "-" or "") .. opt
stderr:write("Value not allowed for option " .. opt .."\n")
- return {"help"}
+ return { target = "help" }
end
else
if not optarg then
optarg = arg[i + 1]
if not optarg then
stderr:write("Missing value for option " .. a .."\n")
- return {"help"}
+ return { target = "help" }
end
i = i + 1
end
end
else
stderr:write("Unknown option " .. a .."\n")
- return {"help"}
+ return { target = "help" }
end
-- Store the result
if optarg then
More information about the latex3-commits
mailing list.