From bf1667e8e1aae74ff85583452afc06caa4a01d22 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Sun, 22 May 2016 17:19:38 -0700 Subject: Add a new command line echo mode that also prints environment variables. Change-Id: I88213103519ae4f69fedb4fe535c9c44e3b61d03 Reviewed-by: Christian Kandeler --- src/lib/corelib/tools/commandechomode.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/corelib/tools/commandechomode.cpp') diff --git a/src/lib/corelib/tools/commandechomode.cpp b/src/lib/corelib/tools/commandechomode.cpp index 87f1aa6bc..e3814fd4e 100644 --- a/src/lib/corelib/tools/commandechomode.cpp +++ b/src/lib/corelib/tools/commandechomode.cpp @@ -36,6 +36,8 @@ * \value CommandEchoModeSilent Indicates that no output will be printed. * \value CommandEchoModeSummary Indicates that descriptions will be printed. * \value CommandEchoModeCommandLine Indidcates that full command line invocations will be printed. + * \value CommandEchoModeCommandLineWithEnvironment Indidcates that full command line invocations, + * including environment variables, will be printed. */ namespace qbs { @@ -54,6 +56,8 @@ QString commandEchoModeName(CommandEchoMode mode) return QLatin1String("summary"); case CommandEchoModeCommandLine: return QLatin1String("command-line"); + case CommandEchoModeCommandLineWithEnvironment: + return QLatin1String("command-line-with-environment"); default: break; } -- cgit v1.2.3