mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
init: Propagates log to CmdHelp
This commit is contained in:
parent
d0e69de848
commit
6851607fa8
3 changed files with 5 additions and 5 deletions
|
@ -26,8 +26,7 @@
|
|||
|
||||
#include <cmake.h>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <commands.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdHelpUsage ()
|
||||
|
@ -46,7 +45,8 @@ int CmdHelpUsage ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdHelp (const std::vector <std::string>& args)
|
||||
// Strict 80-character limit.
|
||||
int CmdHelp (const std::vector <std::string>& args, Log& log)
|
||||
{
|
||||
std::cout << "# help\n";
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue