From bb47ae9373fc0959022ed59992485f3e044bbd1b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 23 Sep 2021 13:11:17 +0530 Subject: gnbug: Print only open bugs in issue listing. * gnbug (gnbug-list): Print only open bugs in issue listing. * README.gmi (gnbug): Update documentation. --- gnbug | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnbug') diff --git a/gnbug b/gnbug index c57f717..f884c2a 100755 --- a/gnbug +++ b/gnbug @@ -266,9 +266,10 @@ terminal." (list-transduce (compose (tenumerate 1) (tfilter (match-lambda ((_ . issue) - (or (not (assq 'assigned args)) - (member (assq-ref args 'assigned) - (issue-assigned issue)))))) + (and (issue-open issue) + (or (not (assq 'assigned args)) + (member (assq-ref args 'assigned) + (issue-assigned issue))))))) (tlog (match-lambda* ((_ (index . issue)) (format #t "~a ~a ~a ~a~a~a~%" -- cgit v1.2.3