diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-27 12:35:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-27 12:35:52 -0500 |
| commit | 8b897851facaa177e2346e0d97fcba7411dfc0aa (patch) | |
| tree | f2f3ef96a5628ec4d76c4097ef7c26a85f1d855a /man | |
| parent | 31c47caa0282cbdf43361a3c0f45fff9699a8814 (diff) | |
Update `setenv()` to take an optional value, also bugfix for `setenv()`
returning a value.
Diffstat (limited to 'man')
| -rw-r--r-- | man/man3/tomo-setenv.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/tomo-setenv.3 b/man/man3/tomo-setenv.3 index a9ed528d..faa6a662 100644 --- a/man/man3/tomo-setenv.3 +++ b/man/man3/tomo-setenv.3 @@ -2,14 +2,14 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH setenv 3 2025-05-17 "Tomo man-pages" +.TH setenv 3 2025-11-27 "Tomo man-pages" .SH NAME setenv \- set an environment variable .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf -.BI setenv\ :\ func(name:\ Text,\ value:\ Text\ ->\ Void) +.BI setenv\ :\ func(name:\ Text,\ value:\ Text?\ ->\ Void) .fi .SH DESCRIPTION Sets an environment variable. @@ -23,7 +23,7 @@ lb lb lbx lb l l l l. Name Type Description Default name Text The name of the environment variable to set. - -value Text The new value of the environment variable. - +value Text? The new value of the environment variable. If `none`, then the environment variable will be unset. - .TE .SH RETURN Nothing. |
