mirror of https://github.com/djcb/mu.git
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:
parent
64ed6e71c1
commit
c6c93234fb
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue