CmdSync: Converted from CLI to CLI2
This commit is contained in:
@@ -56,7 +56,7 @@ int CmdSync::execute (std::string& output)
|
|||||||
|
|
||||||
// Loog for the 'init' keyword to indicate one-time pending.data upload.
|
// Loog for the 'init' keyword to indicate one-time pending.data upload.
|
||||||
bool first_time_init = false;
|
bool first_time_init = false;
|
||||||
std::vector <std::string> words = context.cli.getWords ();
|
std::vector <std::string> words = context.cli2.getWords ();
|
||||||
for (auto& word : words)
|
for (auto& word : words)
|
||||||
{
|
{
|
||||||
if (closeEnough ("initialize", word, 4))
|
if (closeEnough ("initialize", word, 4))
|
||||||
|
|||||||
Reference in New Issue
Block a user