Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit 35e0f72

Browse files
committed
echo options
1 parent 607a8d5 commit 35e0f72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

luapack.yue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ cli = (arguments) ->
232232
options[name] = operator == "yes"
233233

234234
print "Using luapack #{__version__}"
235+
option_str = table.concat ["#{key}=#{if value then "yes" else "no"}" for key, value in pairs options], ", "
236+
print "Options: #{option_str}" if #option_str > 0
235237
print!
236238
for filename in *arguments
237239
continue if "-" == filename::sub 1, 1

0 commit comments

Comments
 (0)