aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/find_action.nom2
-rwxr-xr-xtools/upgrade.nom1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/find_action.nom b/tools/find_action.nom
index 2ddc89f..720899b 100755
--- a/tools/find_action.nom
+++ b/tools/find_action.nom
@@ -16,7 +16,7 @@ for %path in %files:
%file = (read file %filename)
%tree = (parse %file from %filename)
for %t in recursive %tree:
- if (%t is "Action" syntax tree) (..)
+ if (%t is "Action" syntax tree):
if (%t.stub is %stub):
%line_num = (line number of %t.source.start in %file)
say (blue "\%filename:\%line_num:")
diff --git a/tools/upgrade.nom b/tools/upgrade.nom
index 490a58e..6cc2d2c 100755
--- a/tools/upgrade.nom
+++ b/tools/upgrade.nom
@@ -20,7 +20,6 @@ if (%args.1 is "-t"):
remove index 1 from %args
for %path in %args:
- if (%path is "-i"): %inplace = (yes)
for file %filename in %path:
unless (%filename matches "%.nom$"): do next %filename
%tree = (parse (read file %filename) from %filename)