aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autoformat.nom')
-rwxr-xr-xtools/autoformat.nom7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom
index fed611d..f236ca4 100755
--- a/tools/autoformat.nom
+++ b/tools/autoformat.nom
@@ -1,10 +1,10 @@
-#!/usr/bin/env nomsu -V4.8.10
+#!/usr/bin/env nomsu -V4.10.12.7
#
Auto-format Nomsu code. Usage:
nomsu tools/autoformat.nom [-i] file1 file2 directory1 ...
If the first argument is "-i", modifications will be performed in-place. Otherwise,
the formatted code will be printed.
-
+
use "lib/os.nom"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -24,4 +24,5 @@ for %path in %args:
if %inplace:
write %formatted to file %filename
- ..else: say %formatted
+ ..else:
+ say %formatted