Support short version flag (-v) v1 SUPERSEDED

Jack Hill: 1
 Support short version flag (-v)

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~technomancy/fennel/patches/22219/mbox | git am -3
Learn more about email & git

[PATCH] Support short version flag (-v) Export this patch

* 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))
Jack Hill <jackhill@jackhill.us> writes: