Fix Labels Delete (#180)

Fix Delete a Label

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/180
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
6543 2020-09-17 12:47:56 +00:00
parent 83b94ab864
commit e4d7a77348

View File

@ -245,7 +245,7 @@ var CmdLabelDelete = cli.Command{
Name: "delete", Name: "delete",
Usage: "Delete a label", Usage: "Delete a label",
Description: `Delete a label`, Description: `Delete a label`,
Action: runLabelCreate, Action: runLabelDelete,
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.IntFlag{ &cli.IntFlag{
Name: "id", Name: "id",