mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 12:57:58 +08:00
Fixed some typos
This commit is contained in:
parent
7d3f8d712c
commit
59a0594155
1 changed files with 2 additions and 2 deletions
|
@ -10,13 +10,13 @@ func serveCmd() *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "serve",
|
Use: "serve",
|
||||||
Short: "Serve web interface for managing bookmarks",
|
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 " +
|
"serves the site for managing bookmarks. If --port " +
|
||||||
"flag is not used, it will use port 8080 by default.",
|
"flag is not used, it will use port 8080 by default.",
|
||||||
Run: serveHandler,
|
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")
|
cmd.Flags().StringP("address", "a", "", "Address the server listens to")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
|
|
Loading…
Reference in a new issue