diff options
-rw-r--r-- | README.gmi | 4 | ||||
-rwxr-xr-x | gnbug | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -28,12 +28,12 @@ Other discussions on leaving github You may peruse the issues in this repository using the provided gnbug command-line interface. gnbug requires guile. Please install guile before running gnbug. -List all issues. +List all open issues. ``` ./gnbug list ``` -Only list issues assigned to pjotrp. +Only list open issues assigned to pjotrp. ``` ./gnbug list --assigned=pjotrp ``` @@ -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~%" |