fix: update description for the vote flag

This commit is contained in:
Dan Anglin 2024-07-03 13:34:27 +01:00
parent 5ec1cc0e18
commit a8aeec2fbf
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -47,7 +47,7 @@ func NewAddExecutor(printer *printer.Printer, config *config.Config, name, summa
addExe.StringVar(&addExe.content, flagContent, "", "The content of the resource") addExe.StringVar(&addExe.content, flagContent, "", "The content of the resource")
addExe.StringVar(&addExe.pollID, flagPollID, "", "The ID of the poll") addExe.StringVar(&addExe.pollID, flagPollID, "", "The ID of the poll")
addExe.Var(&addExe.accountNames, flagAccountName, "The name of the account") addExe.Var(&addExe.accountNames, flagAccountName, "The name of the account")
addExe.Var(&addExe.choices, flagVote, "Your vote") addExe.Var(&addExe.choices, flagVote, "Add a vote to an option in a poll")
addExe.Usage = commandUsageFunc(name, summary, addExe.FlagSet) addExe.Usage = commandUsageFunc(name, summary, addExe.FlagSet)