mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-30 16:55:25 +01:00 
			
		
		
		
	Add missing flags to org & labels subcommands (#357)
The `tea orgs` command is an alias to `tea orgs list`, and as such should have the same flags. fixes #354 Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/357 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
		| @@ -25,6 +25,7 @@ var CmdLabels = cli.Command{ | ||||
| 		&labels.CmdLabelUpdate, | ||||
| 		&labels.CmdLabelDelete, | ||||
| 	}, | ||||
| 	Flags: labels.CmdLabelsList.Flags, | ||||
| } | ||||
|  | ||||
| func runLabels(ctx *cli.Context) error { | ||||
|   | ||||
| @@ -25,6 +25,7 @@ var CmdOrgs = cli.Command{ | ||||
| 		&organizations.CmdOrganizationList, | ||||
| 		&organizations.CmdOrganizationDelete, | ||||
| 	}, | ||||
| 	Flags: organizations.CmdOrganizationList.Flags, | ||||
| } | ||||
|  | ||||
| func runOrganizations(ctx *cli.Context) error { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin