1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

cli: show description of default value for --backend-local-temp-dir instead of value (#5656)

This commit is contained in:
6543
2025-10-20 23:30:46 +02:00
committed by GitHub
parent deadc0effb
commit 75f773062b
4 changed files with 12 additions and 11 deletions

View File

@@ -22,9 +22,10 @@ import (
var Flags = []cli.Flag{
&cli.StringFlag{
Name: "backend-local-temp-dir",
Sources: cli.EnvVars("WOODPECKER_BACKEND_LOCAL_TEMP_DIR"),
Usage: "set a different temp dir to clone workflows into",
Value: os.TempDir(),
Name: "backend-local-temp-dir",
Sources: cli.EnvVars("WOODPECKER_BACKEND_LOCAL_TEMP_DIR"),
Usage: "set a different temp dir to clone workflows into",
DefaultText: "system temporary directory",
Value: os.TempDir(),
},
}