mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
usage of ctx.StringSlice and cli.StringSliceFlag
rename param pages-branches with pages-branch
This commit is contained in:
parent
06bde50161
commit
5db46e99fe
2 changed files with 7 additions and 6 deletions
|
@ -15,11 +15,11 @@ var ServeFlags = []cli.Flag{
|
|||
Value: "codeberg.page",
|
||||
},
|
||||
// Default branches to fetch assets from
|
||||
&cli.StringFlag{
|
||||
Name: "pages-branches",
|
||||
Usage: "defines branches to fetch assets from",
|
||||
&cli.StringSliceFlag{
|
||||
Name: "pages-branch",
|
||||
Usage: "define a branch to fetch assets from",
|
||||
EnvVars: []string{"PAGES_BRANCHES"},
|
||||
Value: "pages",
|
||||
Value: &cli.StringSlice{},
|
||||
},
|
||||
// GiteaRoot specifies the root URL of the Gitea instance, without a trailing slash.
|
||||
&cli.StringFlag{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue