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
|
@ -108,7 +108,7 @@ scheme_arg = (["--disable-https"], {
|
||||||
|
|
||||||
status_id_arg = (["status_id"], {
|
status_id_arg = (["status_id"], {
|
||||||
"help": "ID of the status",
|
"help": "ID of the status",
|
||||||
"type": int,
|
"type": str,
|
||||||
})
|
})
|
||||||
|
|
||||||
# Arguments for selecting a timeline (see `toot.commands.get_timeline_generator`)
|
# 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)",
|
"help": "mastodon instance from which to read (public and tag timelines only)",
|
||||||
}),
|
}),
|
||||||
(["--list"], {
|
(["--list"], {
|
||||||
"type": int,
|
"type": str,
|
||||||
"help": "show timeline for given list.",
|
"help": "show timeline for given list.",
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue