mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdX: Added error message when expected ids are missing
This commit is contained in:
parent
1e8709e0dc
commit
bd7f3d5015
7 changed files with 19 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue