From d5d60b672a781f927864ef981fed6990bd19f342 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 10 Nov 2014 22:15:53 -0500 Subject: [PATCH] Context - Restored header if the 'information' command is assumed. --- src/Context.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Context.cpp b/src/Context.cpp index 9d10119f4..f85097b72 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -247,6 +247,7 @@ int Context::initialize (int argc, const char** argv) // Extract a recomposed command line. bool foundDefault = false; + bool foundAssumed = false; std::string combined; std::vector ::const_iterator a; for (a = cli._args.begin (); a != cli._args.end (); ++a) @@ -258,11 +259,17 @@ int Context::initialize (int argc, const char** argv) if (a->hasTag ("DEFAULT")) foundDefault = true; + + if (a->hasTag ("ASSUMED")) + foundAssumed = true; } if (foundDefault) header ("[" + combined + "]"); + if (foundAssumed) + header (STRING_ASSUME_INFO); + //////////////////////////////////////////////////////////////////////////// // // [8] Run on.launch hooks.