Skip to content

Commit

Permalink
🐛fix(0.0.1): 修改帮助信息
Browse files Browse the repository at this point in the history
修改帮助信息

Signed-off-by: mritd <[email protected]>
  • Loading branch information
mritd committed Feb 28, 2018
1 parent 1330e4b commit 1f7a403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ http://BINDADDR:PORT/api 返回 json 格式数据`,

func init() {
rootCmd.AddCommand(serverCmd)
mode = serverCmd.PersistentFlags().StringP("mode", "m", "", "server 运行模式(http/json)")
mode = serverCmd.PersistentFlags().StringP("mode", "m", "", "server 运行模式(html/json)")
listen = serverCmd.PersistentFlags().StringP("listen", "l", "0.0.0.0", "http 监听地址")
port = serverCmd.PersistentFlags().IntP("port", "p", 8080, "http 监听端口")

Expand Down

0 comments on commit 1f7a403

Please sign in to comment.