aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/tomodeps.tm3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tomodeps.tm b/examples/tomodeps.tm
index 34216806..032a87b7 100644
--- a/examples/tomodeps.tm
+++ b/examples/tomodeps.tm
@@ -127,11 +127,10 @@ func draw_tree(file:Text, dependencies:{Text:{Text}}):
func main(files:[Text]):
if files.length == 0:
- say("
+ exit(1, message="
Please provide at least one file!
$_USAGE
")
- return
for file in files:
if not file:matches($/{..}.tm/):