mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-11-22 01:47:05 +00:00
More README fixes
This commit is contained in:
parent
ac4557192d
commit
9a93e53bdb
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
|
2
main.go
2
main.go
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue