From 59a05941551491d9ed243dec3cf9b31633545c6f Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 23 Sep 2019 10:43:29 +0300 Subject: [PATCH] Fixed some typos --- internal/cmd/serve.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/serve.go b/internal/cmd/serve.go index 8119740..7eaba91 100644 --- a/internal/cmd/serve.go +++ b/internal/cmd/serve.go @@ -10,13 +10,13 @@ func serveCmd() *cobra.Command { cmd := &cobra.Command{ Use: "serve", Short: "Serve web interface for managing bookmarks", - Long: "Run a simple annd performant web server which " + + Long: "Run a simple and performant web server which " + "serves the site for managing bookmarks. If --port " + "flag is not used, it will use port 8080 by default.", Run: serveHandler, } - cmd.Flags().IntP("port", "p", 8080, "Port that used by server") + cmd.Flags().IntP("port", "p", 8080, "Port used by the server") cmd.Flags().StringP("address", "a", "", "Address the server listens to") return cmd