From 24f224777de7a54a1334c820509bef0aa9b37678 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Feb 2022 10:04:57 -0500 Subject: 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. --- docs/markdown/snippets/devenv.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/markdown') 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 `/.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. -- cgit v1.1