diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-11 15:50:19 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-11 15:50:19 -0400 |
| commit | 436d2e02debe058e9968935e742e397c19de628a (patch) | |
| tree | c51d08a586ead5c4f22d3f2d12695c4a7cf6cbca /man/man3/tomo-getenv.3 | |
| parent | 7e8604daeb9239e1669c5414dd6caa37af30c4ff (diff) | |
Improvements to set support and updating docs
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 |
