From e3702b4de583c443fb8abd134ebb1f035fb4317e Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Thu, 7 Mar 2024 07:32:28 +0000 Subject: [PATCH] Avoid newlines at start and end of help() and version() --- l3sys-query.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/l3sys-query.lua b/l3sys-query.lua index 909bb07..cff5b6c 100755 --- a/l3sys-query.lua +++ b/l3sys-query.lua @@ -35,7 +35,7 @@ for those people who are interested. -- -- Details of the script itself, etc. -- -local copyright = "Copyright (C) 2024 The LaTeX Project\n" +local copyright = "Copyright (C) 2024 The LaTeX Project" local release_date = "2024-03-03" local script_desc = "System queries for LaTeX using Lua\n" local script_name = "l3sys-query" @@ -358,7 +358,7 @@ local function help() end -- 'Header' of fixed info - print("\nUsage: " .. script_name .. " [] []\n") + print("Usage: " .. script_name .. " [] []\n") print("Valid commands are:") -- Sort the commands, pad the descriptions, print @@ -392,7 +392,7 @@ local function help() end local function version() - print("\n" .. script_name .. ": " .. script_desc .. "\nRelease " + print(script_name .. ": " .. script_desc .. "\nRelease " .. release_date .. "\n" .. copyright) end