summaryrefslogtreecommitdiffstats
path: root/fzf
diff options
context:
space:
mode:
Diffstat (limited to 'fzf')
-rwxr-xr-xfzf4
1 files changed, 3 insertions, 1 deletions
diff --git a/fzf b/fzf
index 0cdb115d..69bf14f2 100755
--- a/fzf
+++ b/fzf
@@ -206,7 +206,9 @@ class FZF
@expect = true
when /^--expect=(.*)$/
@expect = true
- when '--tac', '--sync'
+ when '--toggle-sort'
+ argv.shift
+ when '--tac', '--sync', '--toggle-sort', /^--toggle-sort=(.*)$/
# XXX
else
usage 1, "illegal option: #{o}"