From 6728587dfc6a5f4090f2673113ffedb2be924daf Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Jul 2018 20:27:15 -0700 Subject: Auto-formatted and auto-upgraded everything! --- tools/autoformat.nom | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/autoformat.nom') diff --git a/tools/autoformat.nom b/tools/autoformat.nom index de25292..acabefb 100755 --- a/tools/autoformat.nom +++ b/tools/autoformat.nom @@ -1,6 +1,7 @@ -#!/usr/bin/env nomsu -V2.4.4.3 +#!/usr/bin/env nomsu -V2.5.4.3 use "core" use "lib/os.nom" + %args = (command line args) %inplace = (no) if (%args.1 is "-i"): @@ -13,5 +14,6 @@ for %path in %args: #!/usr/bin/env nomsu -V\(Nomsu version) \((parse (read file %filename) from %filename) as nomsu) - if %inplace: write %formatted to file %filename + if %inplace: + write %formatted to file %filename ..else: say %formatted \ No newline at end of file -- cgit v1.2.3