aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
diff options
context:
space:
mode:
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)