Renamed the dump command to save, added command dump to dump the db to stdout.

This commit is contained in:
Oleksandr Kozachuk
2023-01-03 11:58:48 +01:00
parent 1b96ca3239
commit fd3914dacb
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ mod tests {
assert_eq!(*lkread.state.borrow().db.get("t2").unwrap().borrow(), *t2.borrow());
assert_eq!(*lkread.state.borrow().db.get("t3").unwrap().borrow(), *t3.borrow());
LKEval::new(command_parser::cmd("dump").unwrap(), lkread.state.clone(), password)
LKEval::new(command_parser::cmd("save").unwrap(), lkread.state.clone(), password)
.eval()
.print();
assert_eq!(