aboutsummaryrefslogtreecommitdiff
path: root/tools/parse.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-18 19:23:20 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-18 19:24:37 -0800
commit94740a9b414a0fd9af70acb9b8bf3b9576b537e1 (patch)
treed0b18232b285d3f5216dce195fb06b6f3685b070 /tools/parse.nom
parentad09f002e84d0e317c9563784b829f6f0102e994 (diff)
Improved command line interface and robustness of tools.
Diffstat (limited to 'tools/parse.nom')
-rwxr-xr-xtools/parse.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/parse.nom b/tools/parse.nom
index e6768a6..1005983 100755
--- a/tools/parse.nom
+++ b/tools/parse.nom
@@ -36,7 +36,7 @@ externally (print tree $t at indent $indent) means:
else:
say "\$indent \(quote $arg)"
-for $filename in (command line args).extra_args:
+for $filename in $(COMMAND LINE ARGS).extras:
$file = (read file $filename)
unless $file:
barf "File does not exist: \$filename"