aboutsummaryrefslogtreecommitdiff
path: root/examples/ini.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-07 00:26:30 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-07 00:26:30 -0400
commit3f16e95127de7a5eb58801406435f4fd8f5712f6 (patch)
tree9ef1ae104269ba1040c05eebc279f92f97fae492 /examples/ini.tm
parentc454bfa3c4c11b30aa03cde266e76466d2971c20 (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.tm8
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)