diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-01 16:53:58 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-01 16:53:58 -0500 |
| commit | 37e96dbda5ee7b599c3659008c94907fdc8425a2 (patch) | |
| tree | 6e1086a00789071583f1df4dc9e10baacf52334d /examples/wrap | |
| parent | b0483e842973575a51bb3672acf5182ccd212763 (diff) | |
Change `lang.text_content` to `lang.text`
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 b6cf1403..94d752bd 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_content)") + text := file:read() or exit("Could not read file: $(file.text)") if rewrap: text = unwrap(text) |
