From a59f60c1db78ec892275caddd73c243736a2de02 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Sat, 27 Jan 2018 10:31:26 -0800 Subject: [PATCH] hclfmt: Have this tool call itself by the correct name Its usage output was still reporting "zclfmt", which is a remnant of the experimental project that HCL was forked from. --- cmd/hclfmt/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/hclfmt/main.go b/cmd/hclfmt/main.go index cb9a1fe..5223897 100644 --- a/cmd/hclfmt/main.go +++ b/cmd/hclfmt/main.go @@ -91,7 +91,7 @@ func processFiles() error { case dir.IsDir(): // This tool can't walk a whole directory because it doesn't // know what file naming schemes will be used by different - // zcl-embedding applications, so it'll leave that sort of + // HCL-embedding applications, so it'll leave that sort of // functionality for apps themselves to implement. return fmt.Errorf("can't format directory %s", path) default: @@ -142,7 +142,7 @@ func processFile(fn string, in *os.File) error { } func usage() { - fmt.Fprintf(os.Stderr, "usage: zclfmt [flags] [path ...]\n") + fmt.Fprintf(os.Stderr, "usage: hclfmt [flags] [path ...]\n") flag.PrintDefaults() os.Exit(2) }