Tweak - default.command
- Trims whitespace off the default command that is reported via Context::header.
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user