Fix build error in msgs-count.scm
mu:run-stats expects the passed-in function to take 3 arguments. The third argument applies to gnuplot only, which is not applicable to the count function in msgs-count.scm.
This commit is contained in:
@ -26,8 +26,9 @@ exec guile -e main -s $0 $@
|
||||
|
||||
(use-modules (mu) (mu script) (mu stats))
|
||||
|
||||
(define (count expr)
|
||||
"Print the total number of messages matching QUERY."
|
||||
(define (count expr output)
|
||||
"Print the total number of messages matching the query EXPR.
|
||||
OUTPUT is ignored."
|
||||
(display (mu:count expr))
|
||||
(newline))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user