~technomancy/fennel

Fix inconsistent capitalization in 'fennel --help' v1 PROPOSED

Rudolf Adamkovič: 1
 Fix inconsistent capitalization in 'fennel --help'

 1 files changed, 5 insertions(+), 5 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/51584/mbox | git am -3
Learn more about email & git

[PATCH] Fix inconsistent capitalization in 'fennel --help' Export this patch

The help message mixes "REPL" and "repl", "Fennel" and "fennel", etc.  This
patch unifies both.  Also, Lisp is capitalized, as we refer to the family of
languages, not the speech impediment.
---
 src/launcher.fnl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/launcher.fnl b/src/launcher.fnl
index 3a41eb2..69b96cc 100644
--- a/src/launcher.fnl
+++ b/src/launcher.fnl
@@ -5,9 +5,9 @@

(local help "Usage: fennel [FLAG] [FILE]

Run fennel, a lisp programming language for the Lua runtime.
Run Fennel, a Lisp programming language for the Lua runtime.

  --repl                   : Command to launch an interactive repl session
  --repl                   : Command to launch an interactive REPL session
  --compile FILES (-c)     : Command to AOT compile files, writing Lua to stdout
  --eval SOURCE (-e)       : Command to evaluate source code and print result

@@ -33,7 +33,7 @@ Run fennel, a lisp programming language for the Lua runtime.
  --plugin FILE            : Activate the compiler plugin in FILE
  --raw-errors             : Disable friendly compile error reporting
  --no-searcher            : Skip installing package.searchers entry
  --no-fennelrc            : Skip loading ~/.fennelrc when launching repl
  --no-fennelrc            : Skip loading ~/.fennelrc when launching REPL
  --keywords K1[,K2...]    : Treat these symbols as reserved Lua keywords

  --help (-h)              : Display this text
@@ -47,11 +47,11 @@ Metadata is typically considered a development feature and is not recommended
for production. It is used for docstrings and enabled by default in the REPL.

When not given a command, runs the file given as the first argument.
When given neither command nor file, launches a repl.
When given neither command nor file, launches a REPL.

Use the NO_COLOR environment variable to disable escape codes in error messages.

If ~/.fennelrc exists, it will be loaded before launching a repl.")
If ~/.fennelrc exists, it will be loaded before launching a REPL.")

(local options {:plugins [] :keywords {}})

-- 
2.44.0
Rudolf Adamkovič <rudolf@adamkovic.org> writes: