diff options
Diffstat (limited to 'examples/wrap')
| -rw-r--r-- | examples/wrap/wrap.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wrap/wrap.tm b/examples/wrap/wrap.tm index 94d752bd..c90713a9 100644 --- a/examples/wrap/wrap.tm +++ b/examples/wrap/wrap.tm @@ -82,7 +82,7 @@ func main(files:[Path], width=80, inplace=no, min_split=3, rewrap=yes, hyphen=UN files = [(/dev/stdin)] for file in files: - text := file:read() or exit("Could not read file: $(file.text)") + text := file:read() or exit("Could not read file: $file") if rewrap: text = unwrap(text) |
