forked from lix-project/lix
Promote log-lines to a fully-qualified option
This allows commands like nix build --log-lines 30 nixpkgs.hello in order to obtain more information in case of a failure.
This commit is contained in:
parent
7a9ac91a43
commit
a25abe823f
|
@ -82,9 +82,9 @@ public:
|
||||||
/* Whether to show build log output in real time. */
|
/* Whether to show build log output in real time. */
|
||||||
bool verboseBuild = true;
|
bool verboseBuild = true;
|
||||||
|
|
||||||
/* If verboseBuild is false, the number of lines of the tail of
|
Setting<size_t> logLines{this, 10, "log-lines",
|
||||||
the log to show if a build fails. */
|
"If verbose-build is false, the number of lines of the tail of "
|
||||||
size_t logLines = 10;
|
"the log to show if a build fails."};
|
||||||
|
|
||||||
MaxBuildJobsSetting maxBuildJobs{this, 1, "max-jobs",
|
MaxBuildJobsSetting maxBuildJobs{this, 1, "max-jobs",
|
||||||
"Maximum number of parallel build jobs. \"auto\" means use number of cores.",
|
"Maximum number of parallel build jobs. \"auto\" means use number of cores.",
|
||||||
|
|
Loading…
Reference in a new issue