aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-23 15:54:27 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-23 15:54:27 -0700
commit278b004d17830c7be7b329d7036cf82a246039fd (patch)
tree4d278c2f1cb011ccba2499bc8f004fab5096f4fe /tools/autoformat.nom
parent4c8a8a0fe1f1aa042f48b196aef38cfaa3ef3158 (diff)
Added more file descriptions.
Diffstat (limited to 'tools/autoformat.nom')
-rwxr-xr-xtools/autoformat.nom6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom
index 971aec3..6f8e0c2 100755
--- a/tools/autoformat.nom
+++ b/tools/autoformat.nom
@@ -1,4 +1,10 @@
#!/usr/bin/env nomsu -V2.5.4.3
+#
+ 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"
%args = (command line args)