Skip to content

Commit

Permalink
fix: 修改提示和文档.
Browse files Browse the repository at this point in the history
  • Loading branch information
ser163 committed Jul 4, 2023
1 parent f3ccd00 commit b5c5d8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ go build -ldflags "-s -w" -o dpingeon main.go
```
windows下交叉编译
```shell
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o dpingeon main.go
set GOOS=linux
set GOARCH=amd64
go build -ldflags "-s -w" -o dpingeon main.go
```
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var config = ""

func main() {
msgType := flag.String("type", "text", "消息类型: text, link, markdown")
configd := flag.String("conf", "config.yaml", "配置文件路径: config.yaml(默认)")
configd := flag.String("conf", "config.yaml", "配置文件路径")
content := flag.String("content", "", "消息内容")
title := flag.String("title", "", "消息标题")
messageURL := flag.String("url", "", "消息链接")
Expand Down

0 comments on commit b5c5d8f

Please sign in to comment.