unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61366: [PATCH] ; Add usage, will not continue if no parameters are provided.
@ 2023-02-08 10:00 Xi Lu
  2023-02-18 15:27 ` lux
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Xi Lu @ 2023-02-08 10:00 UTC (permalink / raw)
  To: 61366; +Cc: Xi Lu

---
 admin/notes/tree-sitter/build-module/build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh
index 9dc674237ca..08a71c1dde1 100755
--- a/admin/notes/tree-sitter/build-module/build.sh
+++ b/admin/notes/tree-sitter/build-module/build.sh
@@ -3,6 +3,12 @@
 lang=$1
 topdir="$PWD"
 
+if [ $# -lt 1 ]
+then
+    echo "Usage: $0 <language>"
+    exit
+fi
+
 case $(uname) in
     "Darwin")
         soext="dylib"
-- 
2.39.1






^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-01 19:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 10:00 bug#61366: [PATCH] ; Add usage, will not continue if no parameters are provided Xi Lu
2023-02-18 15:27 ` lux
     [not found] ` <873573yowp.fsf@shellcodes.org>
2023-03-19  3:57   ` lux
2023-03-19  6:05     ` Eli Zaretskii
2023-03-19  6:13       ` Eli Zaretskii
2023-03-19  7:11         ` lux
2023-09-01 19:51         ` Stefan Kangas
2023-03-19  7:53 ` Yuan Fu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).