Fix ld command sort order.
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ impl<'a> LKEval<'a> {
|
|||||||
quit = true;
|
quit = true;
|
||||||
}
|
}
|
||||||
Command::Ls(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| a.borrow().name.cmp(&b.borrow().name)),
|
Command::Ls(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| a.borrow().name.cmp(&b.borrow().name)),
|
||||||
Command::Ld(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| b.borrow().date.cmp(&a.borrow().date)),
|
Command::Ld(filter) => self.cmd_ls(&out, filter.to_string(), |a,b| a.borrow().date.cmp(&b.borrow().date)),
|
||||||
Command::Add(name) => self.cmd_add(&out, &name),
|
Command::Add(name) => self.cmd_add(&out, &name),
|
||||||
Command::Leave(name) => self.cmd_leave(&out, &name),
|
Command::Leave(name) => self.cmd_leave(&out, &name),
|
||||||
Command::Comment(name, comment) => self.cmd_comment(&out, &name, &comment),
|
Command::Comment(name, comment) => self.cmd_comment(&out, &name, &comment),
|
||||||
|
|||||||
Reference in New Issue
Block a user