From 4848354e9be7c4f444ef44a586560f71f50a8673 Mon Sep 17 00:00:00 2001 From: Filip Lajszczak Date: Tue, 22 Feb 2022 12:51:01 +0000 Subject: ui: Make cli options consistent. * haunt/ui.scm: Option to display version with single character flag was missing for the root command... * haunt/ui/build.scm: ...and was present but undocummented for the build command. --- haunt/ui.scm | 2 +- haunt/ui/build.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haunt/ui.scm b/haunt/ui.scm index 5af4ee3..55d9229 100644 --- a/haunt/ui.scm +++ b/haunt/ui.scm @@ -145,7 +145,7 @@ There is NO WARRANTY, to the extent permitted by law.~%" (show-haunt-usage)) ((or ("-h") ("--help")) (show-haunt-help)) - (("--version") + ((or ("-V") ("--version")) (show-version-and-exit "haunt")) (((? option? opt) _ ...) (format (current-error-port) diff --git a/haunt/ui/build.scm b/haunt/ui/build.scm index 5e70580..56d896c 100644 --- a/haunt/ui/build.scm +++ b/haunt/ui/build.scm @@ -38,7 +38,7 @@ Compile the site defined in the current directory.~%") (display " -h, --help display this help and exit") (display " - --version display version information and exit") + -V, --version display version information and exit") (newline)) (define %options -- cgit v1.2.3