aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2023-06-18 21:04:19 -0400
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2023-06-18 21:04:19 -0400
commit08925220152b308b6fc227101f6bec1b1c636fa3 (patch)
treef1fe1ab91b80bb5d07c22891b8ab58870d31f588
parent53dae7f8be8eed5f2a2608fb2aa6332e7fddaa60 (diff)
feat: support --version command
-rwxr-xr-xreading-heap.scm12
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)))