aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-02-23 10:04:57 -0500
committerXavier Claessens <xclaesse@gmail.com>2022-02-28 09:03:27 -0500
commit24f224777de7a54a1334c820509bef0aa9b37678 (patch)
treef2a3ba72ad595e898394939ee793265768d1138b /docs
parent30cdb2a28077d9a0364b9ef6b231927c52436a6b (diff)
downloadmeson-24f224777de7a54a1334c820509bef0aa9b37678.zip
meson-24f224777de7a54a1334c820509bef0aa9b37678.tar.gz
meson-24f224777de7a54a1334c820509bef0aa9b37678.tar.bz2
devenv: Add --dump option
It prints all envorinmente variables that have been modified. Can be used by shell scripts that wish to setup their environment themself.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/devenv.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/devenv.md b/docs/markdown/snippets/devenv.md
index 1c401c1..505f971 100644
--- a/docs/markdown/snippets/devenv.md
+++ b/docs/markdown/snippets/devenv.md
@@ -16,3 +16,8 @@ a library name that matches one being built, Meson adds the needed auto-load
commands into `<builddir>/.gdbinit` file. When running gdb from top build
directory, that file is loaded by gdb automatically.
+## Print modified environment variables with `meson devenv --dump`
+
+With `--dump` option, all envorinment variables that have been modified are
+printed instead of starting an interactive shell. It can be used by shell
+scripts that wish to setup their environment themself.