diff options
author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2023-06-18 21:04:19 -0400 |
---|---|---|
committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2023-06-18 21:04:19 -0400 |
commit | 08925220152b308b6fc227101f6bec1b1c636fa3 (patch) | |
tree | f1fe1ab91b80bb5d07c22891b8ab58870d31f588 | |
parent | 53dae7f8be8eed5f2a2608fb2aa6332e7fddaa60 (diff) |
feat: support --version command
-rwxr-xr-x | reading-heap.scm | 12 |
1 files changed, 9 insertions, 3 deletions
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))) |