From f6f84aaf42dd5979ef396c1e5da611936a802d00 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 19 Jan 2010 18:04:47 -0500 Subject: [PATCH] Tweak - default.command - Trims whitespace off the default command that is reported via Context::header. --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "";