mirror of
https://gitea.com/gitea/tea.git
synced 2024-12-04 14:46:40 -05:00
Fix parsing of --description
for issue/pr create (#371)
The `--description` flag didn't work; regression of #331 Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/371 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: KN4CK3R <kn4ck3r@noreply.gitea.io> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
parent
2bdd72dfff
commit
0f4f669cf0
@ -137,7 +137,7 @@ var IssuePREditFlags = append([]cli.Flag{
|
||||
func GetIssuePREditFlags(ctx *context.TeaContext) (*gitea.CreateIssueOption, error) {
|
||||
opts := gitea.CreateIssueOption{
|
||||
Title: ctx.String("title"),
|
||||
Body: ctx.String("body"),
|
||||
Body: ctx.String("description"),
|
||||
Assignees: strings.Split(ctx.String("assignees"), ","),
|
||||
}
|
||||
var err error
|
||||
|
Loading…
Reference in New Issue
Block a user