diff options
Diffstat (limited to '')
-rwxr-xr-x | module/main.scm | 4 | ||||
-rw-r--r-- | module/output/html.scm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/module/main.scm b/module/main.scm index 4e75bbf9..59b74b1b 100755 --- a/module/main.scm +++ b/module/main.scm @@ -65,6 +65,7 @@ exec guile -e main -s $0 "$@" (file (value #t) (single-char #\f)) (output (value #t) (single-char #\o)) (format (value #f)) + (width (value #t) (single-char #\w)) (statprof (value optional)))) (define (ornull a b) @@ -84,7 +85,8 @@ exec guile -e main -s $0 "$@" (for-each (lambda (l) (display l) (newline)) (flow-text (with-input-from-port (open-input-port (option-ref opts 'file "-")) - (@ (ice-9 rdelim) read-string)))) + (@ (ice-9 rdelim) read-string)) + #:width (or (string->number (option-ref opts 'width "")) 70))) (init (lambda (c e) diff --git a/module/output/html.scm b/module/output/html.scm index 3df48159..e03be8d4 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -269,5 +269,3 @@ (define end (parse-freeform-date (option-ref opts 'to "2019-05-10"))) (html-generate calendars events start end)) - - |