diff options
Diffstat (limited to 'man/man3/tomo-getenv.3')
| -rw-r--r-- | man/man3/tomo-getenv.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/tomo-getenv.3 b/man/man3/tomo-getenv.3 index e06e35ff..84bef6be 100644 --- a/man/man3/tomo-getenv.3 +++ b/man/man3/tomo-getenv.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH getenv 3 2025-05-17 "Tomo man-pages" +.TH getenv 3 2025-10-11 "Tomo man-pages" .SH NAME getenv \- get an environment variable .SH LIBRARY @@ -29,6 +29,6 @@ If set, the environment variable's value, otherwise, `none`. .SH EXAMPLES .EX ->> getenv("TERM") -= "xterm-256color"? +assert getenv("TERM") == "xterm-256color" +assert getenv("not_a_variable") == none .EE |
