aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-19 18:28:04 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-08-19 18:28:04 +0200
commitc8fa39324ad7a56a78f8c6f55c42f8f49dbbbf9a (patch)
tree9b87d0ac99db4e321a7aaf233d0a43c8fc0318ea /src/libutil/logging.hh
parent34b22e012350186925e513f34b1292858a81c932 (diff)
Generate the nix.conf docs from the source code
This means we don't have two (divergent) sets of option descriptions anymore.
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 09619aac6..63cb2b268 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -37,10 +37,12 @@ typedef uint64_t ActivityId;
struct LoggerSettings : Config
{
- Setting<bool> showTrace{this,
- false,
- "show-trace",
- "Whether to show a stack trace on evaluation errors."};
+ Setting<bool> showTrace{
+ this, false, "show-trace",
+ R"(
+ Where Nix should print out a stack trace in case of Nix
+ expression evaluation errors.
+ )"};
};
extern LoggerSettings loggerSettings;