From 71981ebf43fe1c1fc60e3de8946411a93ccd5e07 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sat, 9 Mar 2024 15:06:42 +0100 Subject: [PATCH] ensure "make build" on macos generates the same documentation output it has been i while since i used the old macos machine... --- gendoc.sh | 12 +++--------- localserve.go | 5 +++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/gendoc.sh b/gendoc.sh index 61c01be..b7b2a78 100755 --- a/gendoc.sh +++ b/gendoc.sh @@ -25,15 +25,9 @@ any parameters. Followed by the help and usage information for each command. EOF -./mox 2>&1 | sed 's/^\( *\|usage: \)/\t/' - -cat <&1 +./mox 2>&1 | sed -e 's/^usage: */\t/' -e 's/^ */\t/' +echo +./mox helpall 2>&1 cat <