You've already forked woodpecker
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:
@@ -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(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user