Support marking multiple tasks as done
Not yet exposed via the CLI though
This commit is contained in:
parent
c07d27aa13
commit
ab63261dfd
5 changed files with 32 additions and 25 deletions
|
|
@ -92,7 +92,7 @@ pub fn run() -> Result<()> {
|
|||
},
|
||||
Some(Command::Done) => match opt.entry {
|
||||
None => return Err(Error::NoNumber),
|
||||
Some(n) => done::mark_done(&mut files, &entries, &layout, n, now)?,
|
||||
Some(n) => done::mark_done(&mut files, &entries, &layout, &[n], now)?,
|
||||
},
|
||||
Some(Command::Fmt) => files.mark_all_dirty(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue