- Feature #934, supports 'reserved.lines' to indicate a multi-line prompt for
  use in conjunction with 'limit:page' (thanks to Robert Gill).
- Removed 'locale' from the taskrc.5 man page.
- Added verbosity token 'sync'.
- Fixed bug in size calculation for 'limit:page', but there is still one more.
- Corrected unit test limit.t given the above fix.
This commit is contained in:
Paul Beckingham 2012-10-06 14:52:41 -04:00
parent 9cbd729553
commit c5ff24358c
11 changed files with 62 additions and 12 deletions

View file

@ -60,6 +60,9 @@ int CmdSync::execute (std::string& output)
// Obtain credentials.
std::string credentials_string = context.config.get ("taskd.credentials");
if (credentials_string == "")
throw std::string (STRING_CMD_SYNC_BAD_CRED);
std::vector <std::string> credentials;
split (credentials, credentials_string, "/");
if (credentials.size () != 3)