mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 05:30:23 +02:00
Tweak - default.command
- Trims whitespace off the default command that is reported via Context::header.
This commit is contained in:
parent
b927d95d58
commit
f6f84aaf42
1 changed files with 1 additions and 1 deletions
|
@ -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 = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue