From 08925220152b308b6fc227101f6bec1b1c636fa3 Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sun, 18 Jun 2023 21:04:19 -0400 Subject: feat: support --version command --- reading-heap.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'reading-heap.scm') diff --git a/reading-heap.scm b/reading-heap.scm index 846cc51..48ad8eb 100755 --- a/reading-heap.scm +++ b/reading-heap.scm @@ -23,13 +23,15 @@ (default (string-append (or (getenv "XDG_DATA_HOME") (string-append (getenv "HOME") "/.local/share")) - "/media-library"))) + "/media-library")) + (character #f)) (setting (name 'service-socket) (synopsis "socket for communication with the service") (default (string-append "ipc://" (or (getenv "XDG_RUNTIME_DIR") "/tmp") - "/reading-heap.sock"))) + "/reading-heap.sock")) + (character #f)) (switch (name 'write) (synopsis "write the default config") @@ -50,7 +52,11 @@ "/.config")) "/reading-heap/")) (eager? #t)))) - (parser sexp-parser))) + (parser sexp-parser) + (copyright '(2023)) + (version "0.1") + (license agpl3+) + (author "Christopher R. Nelson"))) (define (main cmd-line) (let ((options (getopt-config-auto cmd-line config))) -- cgit v1.2.3