Merge pull request #167 from ReekyMarko/patch-1

Fixed some typos
This commit is contained in:
Radhi 2019-09-23 15:32:29 +07:00 committed by GitHub
commit d3d4cc0498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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