Rename command "leave" to "keep", sounds more appropreate.

This commit is contained in:
Oleksandr Kozachuk
2023-01-03 16:25:29 +01:00
parent 538a32a471
commit 6f78130fab
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ impl<'a> LKEval<'a> {
self.cmd_ls(&out, filter.to_string(), |a, b| a.lock().borrow().date.cmp(&b.lock().borrow().date))
}
Command::Add(name) => self.cmd_add(&out, &name),
Command::Leave(name) => self.cmd_leave(&out, &name),
Command::Keep(name) => self.cmd_keep(&out, &name),
Command::Comment(name, comment) => self.cmd_comment(&out, &name, &comment),
Command::Rm(name) => match self.get_password(name) {
Some(pwd) => {