* src/launcher.fnl: Match on -v in addition to --version to print the
version information.
This change aligns the behavior with the documentation.
---
src/launcher.fnl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/launcher.fnl b/src/launcher.fnl
index 0a71299..1b97d42 100644
--- a/src/launcher.fnl
+++ b/src/launcher.fnl
@@ -226,6 +226,7 @@ Run fennel, a lisp programming language for the Lua runtime.
[:--eval form] (eval form)
[:-e form] (eval form)
[:--version] (print (.. "Fennel " fennel.version " on " _VERSION))
+ [:-v] (print (.. "Fennel " fennel.version " on " _VERSION))
[:--help] (print help)
[:-h] (print help)
["-" & args] (dosafely fennel.eval (io.stdin:read :*a))
--
2.31.1