More README fixes

This commit is contained in:
Gabriel Garrido 2024-05-11 19:34:57 +02:00
parent ac4557192d
commit 9a93e53bdb
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ You can clone this repo and run `go build main.go` in the repository's directory
```
Usage of mastodon-markdown-archive:
-dist string
Path to directory where files will be written, defaults ./posts
Path to directory where files will be written (default "./posts")
-exclude-reblogs
Whether or not to exclude reblogs
-exclude-replies
@ -36,7 +36,7 @@ Usage of mastodon-markdown-archive:
-since-id string
Fetch posts greater than this id
-template string
Template to use for post rendering, defaults to templates/post.tmpl
Template to use for post rendering, if passed
-user string
URL of User's Mastodon account whose toots will be fetched
```

View file

@ -22,7 +22,7 @@ func main() {
minId := flag.String("min-id", "", "Fetch posts immediately newer than this id")
persistFirst := flag.String("persist-first", "", "Location to persist the post id of the first post returned")
persistLast := flag.String("persist-last", "", "Location to persist the post id of the last post returned")
templateFile := flag.String("template", "", "Template to use for post rendering, defaults to templates/post.tmpl")
templateFile := flag.String("template", "", "Template to use for post rendering, if passed")
flag.Parse()