diff --git a/src/Context.cpp b/src/Context.cpp index a4a9485ad..f2712f364 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -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 = "";