From 9ceeefe5c2b7034c324556b3cdf8184a2db75eba Mon Sep 17 00:00:00 2001 From: Niklas Mohrin Date: Fri, 7 Aug 2026 01:14:28 +0200 Subject: [PATCH] Add docs --- docs/src/config.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/src/config.md b/docs/src/config.md index a662b57..de3460e 100644 --- a/docs/src/config.md +++ b/docs/src/config.md @@ -57,3 +57,16 @@ auto_update = true The directory where the configuration file resides may be overwritten by the environment variable `TEALDEER_CONFIG_DIR`. Remember to use an absolute path. Variable expansion will not be performed on the path. + +## Override Config Values + +Individual config values can be overridden using the `--override-config` command +line argument. The overrides take place after reading the user config file, but +before the raw config is evaluated. + +```shell +$ tldr --override-config "display.compact = true" tealdeer +``` + +Each override is of the form ` = ` where `name` is a config key and +`value` is any TOML value.