From afbd03f963b08419a3835c9473d757bf936c8b92 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 4 Nov 2024 07:27:47 +0800 Subject: fix(scripts): ignore declarations without a description (#122) --- scripts/build-declarations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build-declarations.sh') diff --git a/scripts/build-declarations.sh b/scripts/build-declarations.sh index f01ad7d..af23590 100755 --- a/scripts/build-declarations.sh +++ b/scripts/build-declarations.sh @@ -59,7 +59,7 @@ build_declarations() { parameters: parse_parameter([.flag_options[] | select(.id != "help" and .id != "version")]) }; [ - .[] | parse_declaration | select(.name | startswith("_") | not) + .[] | parse_declaration | select(.name | startswith("_") | not) | select(.description != "") ]' } -- cgit v1.2.3