Fix comment for NormalizeHugoFlags
authorAlexander Morozov <lk4d4@docker.com>
Tue, 6 Oct 2015 22:58:58 +0000 (15:58 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 7 Oct 2015 19:28:29 +0000 (21:28 +0200)
helpers/general.go

index 5b5778b8c42b65e7d80fd498c3b10663a6616b6d..b05c860922d86bfc777ec98df3a4b4279cebc771 100644 (file)
@@ -430,7 +430,7 @@ func DoArithmetic(a, b interface{}, op rune) (interface{}, error) {
        }
 }
 
-// NormalizeHugoFlagsFunc facilitates transitions of Hugo command-line flags,
+// NormalizeHugoFlags facilitates transitions of Hugo command-line flags,
 // e.g. --baseUrl to --baseURL, --uglyUrls to --uglyURLs
 func NormalizeHugoFlags(f *pflag.FlagSet, name string) pflag.NormalizedName {
        switch name {