diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:45:55 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:45:55 -0400 |
| commit | 7a4bf8d3d83b7dceebc2ae6c6bbe47e7e46a2432 (patch) | |
| tree | c73280de28e44d4adfdff1709b8b516c001d0dd5 /examples | |
| parent | cf7ea6fbef55e217da5289b80b6551737e534083 (diff) | |
Use exit()
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/tomodeps.tm | 3 |
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/): |
