aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-10-23 16:59:52 +0200
committerGitHub <noreply@github.com>2018-10-23 16:59:52 +0200
commitc47e14ee453f3054d4a7326d8efe9255458bd7fd (patch)
tree67f01549f529e2c340a10766543ad1b16e8e6a03
parent1a08ad75eab69d7b54b13111a654a486eac128db (diff)
parenta25abe823fd2719eee09c28ccddf6d9b1c13a2e1 (diff)
Merge pull request #2483 from mayflower/tail-config
Promote verbose-build and log-lines
-rw-r--r--src/libstore/globals.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index cf4ae63cd..6b3e20453 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -82,9 +82,9 @@ public:
/* Whether to show build log output in real time. */
bool verboseBuild = true;
- /* If verboseBuild is false, the number of lines of the tail of
- the log to show if a build fails. */
- size_t logLines = 10;
+ Setting<size_t> logLines{this, 10, "log-lines",
+ "If verbose-build is false, the number of lines of the tail of "
+ "the log to show if a build fails."};
MaxBuildJobsSetting maxBuildJobs{this, 1, "max-jobs",
"Maximum number of parallel build jobs. \"auto\" means use number of cores.",