summaryrefslogtreecommitdiffstats
path: root/src/key_command/impl_comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/key_command/impl_comment.rs')
-rw-r--r--src/key_command/impl_comment.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/key_command/impl_comment.rs b/src/key_command/impl_comment.rs
index 82806f7..a7f373f 100644
--- a/src/key_command/impl_comment.rs
+++ b/src/key_command/impl_comment.rs
@@ -7,10 +7,13 @@ impl CommandComment for Command {
// These comments are displayed at the help page
fn comment(&self) -> &'static str {
match self {
- Self::SetLineMode(linemode) => match linemode {
- LineMode::Size => "Show files with size",
- LineMode::MTime => "Show files with modified time",
- LineMode::SizeMTime => "Show files with size and modified time",
+ Self::SetLineMode(linemode) => match *linemode {
+ LineMode::size => "Show files with size",
+ LineMode::mtime => "Show files with modified time",
+ LineMode::user => "Show files with user",
+ LineMode::group => "Show files with group",
+ LineMode::perm => "Show files with permission",
+ _ => "Show files with multi-attribution",
},
Self::Escape => "Escape from visual mode (cancel)",
Self::BulkRename => "Bulk rename",