Tweak - default.command

- Trims whitespace off the default command that is reported via Context::header.
This commit is contained in:
Paul Beckingham 2010-01-19 18:04:47 -05:00
parent b927d95d58
commit f6f84aaf42

View file

@ -681,7 +681,7 @@ void Context::parse (
// Stuff the command line.
args.clear ();
split (args, defaultCommand, ' ');
header ("[task " + defaultCommand + "]");
header ("[task " + trim (defaultCommand) + "]");
// Reinitialize the context and recurse.
file_override = "";