mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Code style: add curly braces
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
4a0ab1236d
commit
29a00fbcd9
1 changed files with 6 additions and 0 deletions
|
@ -86,11 +86,17 @@ int CmdReport (
|
||||||
{
|
{
|
||||||
std::string script;
|
std::string script;
|
||||||
for (auto& arg : cli._args)
|
for (auto& arg : cli._args)
|
||||||
|
{
|
||||||
if (arg.hasTag ("EXT"))
|
if (arg.hasTag ("EXT"))
|
||||||
|
{
|
||||||
script = findExtension (extensions, arg.attribute ("canonical"));
|
script = findExtension (extensions, arg.attribute ("canonical"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (script.empty ())
|
if (script.empty ())
|
||||||
|
{
|
||||||
throw std::string ("Specify which report to run.");
|
throw std::string ("Specify which report to run.");
|
||||||
|
}
|
||||||
|
|
||||||
// Compose Header info.
|
// Compose Header info.
|
||||||
auto filter = cli.getFilter ();
|
auto filter = cli.getFilter ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue