[latex3-commits] [latex3/l3sys-query] main: short help for missing cmd (a58a93e)
github at latex-project.org
github at latex-project.org
Mon Mar 18 08:54:16 CET 2024
Repository : https://github.com/latex3/l3sys-query
On branch : main
Link : https://github.com/latex3/l3sys-query/commit/a58a93ec8980a3b4271e99e40f2ac7788919637c
>---------------------------------------------------------------
commit a58a93ec8980a3b4271e99e40f2ac7788919637c
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Mar 17 23:15:20 2024 +0000
short help for missing cmd
>---------------------------------------------------------------
a58a93ec8980a3b4271e99e40f2ac7788919637c
l3sys-query.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l3sys-query.lua b/l3sys-query.lua
index 03e8629..0d860ae 100755
--- a/l3sys-query.lua
+++ b/l3sys-query.lua
@@ -530,7 +530,7 @@ if cmd == "version" then
exit(0)
elseif not cmd_impl[cmd] then
if cmd == "" then
- help()
+ info_and_quit(script_name .. ": No " .. script_name .. " command specified.")
else
info_and_quit(script_name .. ": '" .. cmd .. "' is not a " .. script_name ..
" command.")
More information about the latex3-commits
mailing list.