diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-20 20:27:15 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-20 20:27:27 -0700 |
| commit | 6728587dfc6a5f4090f2673113ffedb2be924daf (patch) | |
| tree | 77591abacd8760bedaa30110570613ef263220fe /tools/autoformat.nom | |
| parent | c9df1bc3e881b2ebcf5808a0db7bea29cd07c849 (diff) | |
Auto-formatted and auto-upgraded everything!
Diffstat (limited to 'tools/autoformat.nom')
| -rwxr-xr-x | tools/autoformat.nom | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
