mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Improve Documentation (#433)
- document more assumptions about usage context of gitea - improve some flag descriptions (#432, #377) Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/433 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:
		| @@ -27,11 +27,11 @@ var CmdReleaseCreate = cli.Command{ | ||||
| 	Flags: append([]cli.Flag{ | ||||
| 		&cli.StringFlag{ | ||||
| 			Name:  "tag", | ||||
| 			Usage: "Tag name", | ||||
| 			Usage: "Tag name. If the tag does not exist yet, it will be created by Gitea", | ||||
| 		}, | ||||
| 		&cli.StringFlag{ | ||||
| 			Name:  "target", | ||||
| 			Usage: "Target refs, branch name or commit id", | ||||
| 			Usage: "Target branch name or commit hash. Defaults to the default branch of the repo", | ||||
| 		}, | ||||
| 		&cli.StringFlag{ | ||||
| 			Name:    "title", | ||||
| @@ -56,7 +56,7 @@ var CmdReleaseCreate = cli.Command{ | ||||
| 		&cli.StringSliceFlag{ | ||||
| 			Name:    "asset", | ||||
| 			Aliases: []string{"a"}, | ||||
| 			Usage:   "List of files to attach", | ||||
| 			Usage:   "Path to file attachment. Can be specified multiple times", | ||||
| 		}, | ||||
| 	}, flags.AllDefaultFlags...), | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin