diff --git a/hooks/golang/gomarkdoc.sh b/hooks/golang/gomarkdoc.sh index 78455f8..e39ac83 100755 --- a/hooks/golang/gomarkdoc.sh +++ b/hooks/golang/gomarkdoc.sh @@ -11,9 +11,9 @@ GITHUB_SERVER_URL="${GITHUB_SERVER_URL:-https://github.com}" # autodetect the GitHub remote URI correctly if [ -n "$GITHUB_REPOSITORY" ]; then echo "DEBUG Using environment repository" - gomarkdoc --output '{{.Dir}}/README.md' -vv \ + gomarkdoc --output '{{.Dir}}/README.md' --verbose \ --repository.url "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY%%/}" \ - --repository.default-branch "${GITHUB_DEFAULT_BRANCH:-main}" ./... + --repository.default-branch "${GITHUB_DEFAULT_BRANCH:-main}" --embed ./... else - gomarkdoc --output '{{.Dir}}/README.md' -vv ./... + gomarkdoc --output '{{.Dir}}/README.md' --verbose --embed ./... fi