about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-11-17 17:14:39 +0100
committerLeah Neukirchen <leah@vuxu.org>2017-11-17 17:14:39 +0100
commit126759f63d8693c8d264db60cfd0f89e7b727e4a (patch)
tree898a23291054523cd014692e6eb4b5aaa5c2241f
parent241895515a031f88ca4b3973ac71616b4522fa49 (diff)
downloadlr-126759f63d8693c8d264db60cfd0f89e7b727e4a.tar.gz
lr-126759f63d8693c8d264db60cfd0f89e7b727e4a.tar.xz
lr-126759f63d8693c8d264db60cfd0f89e7b727e4a.zip
_lr: add completion for -B
-rw-r--r--_lr3
1 files changed, 2 insertions, 1 deletions
diff --git a/_lr b/_lr
index 327c5e7..5a30bb5 100644
--- a/_lr
+++ b/_lr
@@ -85,7 +85,8 @@ _arguments -S : \
 	'(-0 -F -l -f)-S[stat(1)-like output]' \
 	'(-0 -F -l -S)-f[output with custom format]:format:_lr_format' \
 	$timeopt \
-	'-D[use depth-first traversal]' \
+	'(-D)-B[use breadth-first traversal]' \
+	'(-B)-D[use depth-first traversal]' \
 	'(-L)-H[only follow symlinks on command line]' \
 	'(-H)-L[follow all symlinks]' \
 	'-1[don'\''t go below one level of directories]' \