diff --git a/docs/manual.md b/docs/manual.md index 0ce4ca9..39b7ecb 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -39,6 +39,7 @@ - [View a list of statuses that you've liked](#view-a-list-of-statuses-that-youve-liked) - [Mute a status](#mute-a-status) - [Unmute a status](#unmute-a-status) + - [Vote in a poll within a status](#vote-in-a-poll-within-a-status) - [Polls](#polls) - [Create a poll](#create-a-poll) - [View a poll](#view-a-poll) @@ -528,6 +529,21 @@ _Not yet supported_ _Not yet supported_ +### Vote in a poll within a status + +Adds your vote(s) to a poll within a status. + +``` +enbas add --type vote --to status --status-id 01J55XVV2MM6MKQ7QHFBAVAE8R --vote 3 +``` + +| flag | type | required | description | default | +|------|------|----------|-------------|---------| +| `type` | string | true | The resource you want to add.
Here this should be `vote`. | | +| `to` | string | true | The resource you want to add the vote to.
Here this should be `poll`. | | +| `status-id` | string | true | The ID of the poll you want to add the votes to. | | +| `vote` | int | true | The ID of the option that you want to vote for.
You can use this flag multiple times to vote for more than one option if the poll allows multiple choices. | | + ## Polls ### Create a poll @@ -536,22 +552,11 @@ See [Create a status](#create-a-status). ### View a poll -You can view a poll from a status or timeline. +You can view a poll within a [status](#view-a-status) or within a [timeline](#view-a-timeline). ### Vote in a poll -Add your vote(s) to a poll. - -``` -enbas add --type vote --to poll --poll-id 01J1TVJ705VV3VP02FVVBSMX7E --vote 3 -``` - -| flag | type | required | description | default | -|------|------|----------|-------------|---------| -| `type` | string | true | The resource you want to add.
Here this should be `vote`. | | -| `to` | string | true | The resource you want to add the vote to.
Here this should be `poll`. | | -| `poll-id` | string | true | The ID of the poll you want to add the votes to. | | -| `vote` | int | true | The ID of the option that you want to vote for.
You can use this flag multiple times to vote for more than one option if the poll allows multiple choices. | | +See [Vote in a poll within a status](#vote-in-a-poll-within-a-status) ## Lists