diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:26:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:26:30 -0400 |
| commit | 3f16e95127de7a5eb58801406435f4fd8f5712f6 (patch) | |
| tree | 9ef1ae104269ba1040c05eebc279f92f97fae492 /examples/ini.tm | |
| parent | c454bfa3c4c11b30aa03cde266e76466d2971c20 (diff) | |
USAGE and HELP need an underscore prefix so they're not imported into
other files. Also fixed up dependency tool so it works good now
Diffstat (limited to 'examples/ini.tm')
| -rw-r--r-- | examples/ini.tm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/ini.tm b/examples/ini.tm index 38ccb624..1f818a2e 100644 --- a/examples/ini.tm +++ b/examples/ini.tm @@ -1,9 +1,9 @@ -USAGE := " +_USAGE := " Usage: ini <filename> "[section[/key]]" " -HELP := " +_HELP := " ini: A .ini config file reader tool. - $USAGE + $_USAGE " file := use ./file.tm @@ -37,7 +37,7 @@ func main(filename:Text, key:Text): if keys.length > 2: fail(" Too many arguments! - $USAGE + $_USAGE ") data := parse_ini(filename) |
