[latex3-commits] [latex3/l3build] main: Minor formatting tweaks in help (c1e5c4f)
github at latex-project.org
github at latex-project.org
Tue Mar 5 14:48:06 CET 2024
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/c1e5c4f029bf13a898222031ac99088bab9e0cc2
>---------------------------------------------------------------
commit c1e5c4f029bf13a898222031ac99088bab9e0cc2
Author: Joseph Wright <joseph at texdev.net>
Date: Tue Mar 5 13:48:06 2024 +0000
Minor formatting tweaks in help
>---------------------------------------------------------------
c1e5c4f029bf13a898222031ac99088bab9e0cc2
build.lua | 4 ++--
l3build-help.lua | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build.lua b/build.lua
index 623b882..ea4bd1f 100644
--- a/build.lua
+++ b/build.lua
@@ -125,8 +125,8 @@ function docinit_hook()
local help_text = assert(f:read("*a"))
f:close()
- insert(man_t,(help_text:gsub("\nUsage.*spec>]\n\n","")
- :gsub("Valid commands",".SH COMMANDS\nValid commands")
+ insert(man_t,(help_text:gsub("\nUsage.*names>]\n\n","")
+ :gsub("Valid targets",".SH COMMANDS\nValid targets")
:gsub("Valid options",".SH OPTIONS\nValid options")
:gsub("Full manual",'.SH "SEE ALSO"\nFull manual')
:gsub("Bug tracker","\nBug tracker")
diff --git a/l3build-help.lua b/l3build-help.lua
index 46b0bc4..9cad713 100644
--- a/l3build-help.lua
+++ b/l3build-help.lua
@@ -59,7 +59,7 @@ function help()
if not (match(arg[0], "l3build%.lua$") or match(arg[0],"l3build$")) then
scriptname = arg[0]
end
- print("usage: " .. scriptname .. " <target> [<options>] [<names>]")
+ print("\nUsage: " .. scriptname .. " <target> [<options>] [<names>]")
print("")
print("Valid targets are:")
local longest,t = setup_list(target_list)
More information about the latex3-commits
mailing list.