aboutsummaryrefslogtreecommitdiff
path: root/examples/tomodeps.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-15 16:42:42 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-15 16:42:42 -0400
commit835eb7e89627eea923bfd57bdacba7065c6b1d4c (patch)
tree68fd9832252e728ccf0c7277a5a2f492e41c261c /examples/tomodeps.tm
parentfb37b0ee4253651cab10b41cc2e1f536b17b26d4 (diff)
Add optional:or_exit(...)
Diffstat (limited to 'examples/tomodeps.tm')
-rw-r--r--examples/tomodeps.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tomodeps.tm b/examples/tomodeps.tm
index 209f14e0..a427c5f9 100644
--- a/examples/tomodeps.tm
+++ b/examples/tomodeps.tm
@@ -103,7 +103,7 @@ func draw_tree(dep:Dependency, dependencies:{Dependency:{Dependency}}):
func main(files:[Text]):
if files.length == 0:
- exit(1, message="
+ exit("
Please provide at least one file!
$_USAGE
")