aboutsummaryrefslogtreecommitdiffstats
path: root/.lush/scripts
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-10-15 11:40:26 -0400
committerGravatar BanceDev 2024-10-15 11:40:26 -0400
commit6295ae273d4a15b60b580344b986986d004c22ad (patch)
treeea8eb39136ab6f128a5388ad656c0b899a91997d /.lush/scripts
parentv0.2.3 (diff)
updated help messages
Diffstat (limited to '.lush/scripts')
-rw-r--r--.lush/scripts/example.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.lush/scripts/example.lua b/.lush/scripts/example.lua
index b3de3cb..e7cd210 100644
--- a/.lush/scripts/example.lua
+++ b/.lush/scripts/example.lua
@@ -106,3 +106,7 @@ if textFiles ~= nil then
print(textFiles[i])
end
end
+
+-- the exit function is used to make the program quit in the case of an error
+print("making an error with lush.exit()")
+lush.exit()