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 <