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:
Chen He 2014-12-07 16:29:14 -05:00
parent 64ed6e71c1
commit c6c93234fb
1 changed files with 3 additions and 2 deletions

View File

@ -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))