From 8e52f1901b73f2072d21f8c79ef52bf137180161 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 18 Dec 2018 19:25:10 -0800 Subject: [PATCH] Renamed autoformat -> format for concision (it's obviously auto, it's a tool). --- tools/{autoformat.nom => format.nom} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tools/{autoformat.nom => format.nom} (91%) diff --git a/tools/autoformat.nom b/tools/format.nom similarity index 91% rename from tools/autoformat.nom rename to tools/format.nom index d878a02..8355176 100755 --- a/tools/autoformat.nom +++ b/tools/format.nom @@ -1,7 +1,7 @@ #!/usr/bin/env nomsu -V5.12.12.8 # Auto-format Nomsu code. Usage: - nomsu -t autoformat [-i] file1 file2... + nomsu -t format [-i] file1 file2... If the "-i" flag is used, the file will be edited in-place. If no files are passed in, this will read from stdin. @@ -12,7 +12,7 @@ use "lib/os.nom" $filenames = $(COMMAND LINE ARGS).extras if ((#$filenames) == 0): - say "Warning: reading from stdin (ctrl-d to abort). To avoid this message, use nomsu -t autoformat -" + say "Warning: reading from stdin (ctrl-d to abort). To avoid this message, use nomsu -t format -" $filenames = ["stdin"] for $filename in $filenames: