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.
|
// Stuff the command line.
|
||||||
args.clear ();
|
args.clear ();
|
||||||
split (args, defaultCommand, ' ');
|
split (args, defaultCommand, ' ');
|
||||||
header ("[task " + defaultCommand + "]");
|
header ("[task " + trim (defaultCommand) + "]");
|
||||||
|
|
||||||
// Reinitialize the context and recurse.
|
// Reinitialize the context and recurse.
|
||||||
file_override = "";
|
file_override = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user