diff --git a/man/md2man-all.sh b/man/md2man-all.sh index eb0bc6366a..46c7b8f08e 100755 --- a/man/md2man-all.sh +++ b/man/md2man-all.sh @@ -18,5 +18,5 @@ for FILE in *.md; do continue fi mkdir -p "./man${num}" - md2man -in "$FILE" -out "./man${num}/${name}" + go-md2man -in "$FILE" -out "./man${num}/${name}" done diff --git a/scripts/docs/generate-man.sh b/scripts/docs/generate-man.sh index 136ed1e000..e312c87dd3 100755 --- a/scripts/docs/generate-man.sh +++ b/scripts/docs/generate-man.sh @@ -4,9 +4,9 @@ set -eu -o pipefail mkdir -p ./man/man1 -if ! command -v md2man &> /dev/null; then +if ! command -v go-md2man &> /dev/null; then # yay, go install creates a binary named "v2" ¯\_(ツ)_/¯ - go build -o "/go/bin/md2man" ./vendor/github.com/cpuguy83/go-md2man/v2 + go build -o "/go/bin/go-md2man" ./vendor/github.com/cpuguy83/go-md2man/v2 fi # Generate man pages from cobra commands