[latex3-commits] [latex3/l3sys-query] kb-review: short help for missing cmd (e81d5f7)

github at latex-project.org github at latex-project.org
Mon Mar 18 00:15:20 CET 2024


Repository : https://github.com/latex3/l3sys-query
On branch  : kb-review
Link       : https://github.com/latex3/l3sys-query/commit/e81d5f7d031802cea547b96e7a9fe93c58408ab3

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

commit e81d5f7d031802cea547b96e7a9fe93c58408ab3
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Mar 17 23:15:20 2024 +0000

    short help for missing cmd


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

e81d5f7d031802cea547b96e7a9fe93c58408ab3
 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.