Allow string status and list ids
Favourites and reblogs also use this id and it's sometimes strings.
This commit is contained in:
parent
62d7855fc0
commit
d884379f2e
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ scheme_arg = (["--disable-https"], {
|
|||
|
||||
status_id_arg = (["status_id"], {
|
||||
"help": "ID of the status",
|
||||
"type": int,
|
||||
"type": str,
|
||||
})
|
||||
|
||||
# Arguments for selecting a timeline (see `toot.commands.get_timeline_generator`)
|
||||
|
@ -132,7 +132,7 @@ common_timeline_args = [
|
|||
"help": "mastodon instance from which to read (public and tag timelines only)",
|
||||
}),
|
||||
(["--list"], {
|
||||
"type": int,
|
||||
"type": str,
|
||||
"help": "show timeline for given list.",
|
||||
}),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue