summaryrefslogtreecommitdiff
path: root/haunt/ui/serve.scm
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/ui/serve.scm')
-rw-r--r--haunt/ui/serve.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/haunt/ui/serve.scm b/haunt/ui/serve.scm
index 3ef7ede..078b013 100644
--- a/haunt/ui/serve.scm
+++ b/haunt/ui/serve.scm
@@ -41,6 +41,8 @@ Start an HTTP server for the current site.~%")
(() (serve (haunt-output-directory)))
((or ("-h") ("--help"))
(show-serve-help))
+ (("--version")
+ (show-version-and-exit))
(((? option? opt) _ ...)
(haunt-error "invalid option: ~a" opt)
(exit 1))