- Restored header if the 'information' command is assumed.
This commit is contained in:
Paul Beckingham 2014-11-10 22:15:53 -05:00
parent 97428397a5
commit d5d60b672a

View file

@ -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 <A>::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.