summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimão Gomes Viana <[email protected]>2021-03-29 19:02:21 +0200
committerGitHub <[email protected]>2021-03-29 11:02:21 -0600
commit87fbc0783ae45cff885d5118a095ad9ac8c1c08a (patch)
tree327edec67d986e4e3d2cfe93db472e07c641641d
parentf1c36680fc8b21d5f8c110d8d3b97c4efe324376 (diff)
downloadcaddy-87fbc0783ae45cff885d5118a095ad9ac8c1c08a.tar.gz
caddy-87fbc0783ae45cff885d5118a095ad9ac8c1c08a.zip
cmd: main: fix minor doc typos (#4082)
Fixed typos in the documentation
-rw-r--r--cmd/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/main.go b/cmd/main.go
index c4d262a5f..886391b7e 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -49,7 +49,7 @@ func init() {
}
// Main implements the main function of the caddy command.
-// Call this if Caddy is to be the main() if your program.
+// Call this if Caddy is to be the main() of your program.
func Main() {
switch len(os.Args) {
case 0:
@@ -311,7 +311,7 @@ func (f Flags) Int(name string) int {
// Float64 returns the float64 representation of the
// flag given by name. It returns false if the flag
-// is not a float63 type. It panics if the flag is
+// is not a float64 type. It panics if the flag is
// not in the flag set.
func (f Flags) Float64(name string) float64 {
val, _ := strconv.ParseFloat(f.String(name), 64)