CmdX: Added error message when expected ids are missing

This commit is contained in:
Paul Beckingham 2016-07-17 08:55:18 -04:00
parent 1e8709e0dc
commit bd7f3d5015
7 changed files with 19 additions and 1 deletions

View file

@ -50,6 +50,9 @@ int CmdSplit (
delta = arg.attribute ("raw");
}
if (! ids.size ())
throw std::string ("IDs must be specified. See 'timew help split'.");
// TODO Support :adjust
// Load the data.