diff options
author | Azad <49314270+Akmadan23@users.noreply.github.com> | 2024-03-14 17:05:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 12:05:42 -0400 |
commit | 2536838ce31955ec55561aabb4b86fdd4bc984df (patch) | |
tree | 186952491a26613054c338046ff96df411b7c34d /src/key_command/command.rs | |
parent | 9339b90cd4a8b26aaa57d63b90c633f427990745 (diff) |
feat: add `--reverse` flag to sort methods (#507)
Diffstat (limited to 'src/key_command/command.rs')
-rw-r--r-- | src/key_command/command.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/key_command/command.rs b/src/key_command/command.rs index 0a4736f..c0c575d 100644 --- a/src/key_command/command.rs +++ b/src/key_command/command.rs @@ -153,7 +153,10 @@ pub enum Command { initial: char, }, - Sort(SortType), + Sort { + sort_type: SortType, + reverse: Option<bool>, + }, SortReverse, FilterGlob { |