aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/example4
-rw-r--r--doc/info/auto-auto-complete.texinfo8
-rw-r--r--doc/syntax2
3 files changed, 12 insertions, 2 deletions
diff --git a/doc/example b/doc/example
index d1e6b68..b2f15ab 100644
--- a/doc/example
+++ b/doc/example
@@ -19,7 +19,9 @@
)
; in files, -0 mean to not accept files, you can use to before other arguments to disallow them,
- ; -a means accept all files, -d → directory, -s → socket, -D → door, -f → regular or pipe, -l → symlink (allowed by default on all), -r → regular
+ ; -a means accept all files, -d → directory, -s → socket, -D → door, -f → regular or pipe,
+ ; -l → symlink (allowed by default on all), -r → regular, -b → block device,
+ ; -c → character device, -S → block device or character device, -p → pipe
(multiple argumented
((options -f --file --pony) (complete --file --pony) (arg PONY) (suggest pony-f) (files -f *.pony) (desc 'Specify the pony that should printed'))
((options +f ++file ++pony) (complete ++file ++pony) (arg PONY) (suggest pony+f) (files -f *.pony) (desc 'Specify the extrapony that should printed'))
diff --git a/doc/info/auto-auto-complete.texinfo b/doc/info/auto-auto-complete.texinfo
index 0931933..d57490a 100644
--- a/doc/info/auto-auto-complete.texinfo
+++ b/doc/info/auto-auto-complete.texinfo
@@ -341,6 +341,8 @@ Suggest all files.
Suggest regular files and pipes.
@item -r
Suggest regular files but not pipes.
+@item -p
+Suggest pipes but not regular files.
@item -d
Suggest directories.
@item -l
@@ -350,6 +352,12 @@ but @code{-0} can be used to stop this.
Suggest sockets.
@item -D
Suggest doors.
+@item -b
+Suggest block devices.
+@item -c
+Suggest character devices.
+@item -S
+Suggest block devices and character devices.
@end table
@example
diff --git a/doc/syntax b/doc/syntax
index df16bbb..eaf0bae 100644
--- a/doc/syntax
+++ b/doc/syntax
@@ -36,7 +36,7 @@ arg ::= '(' _ "arg" _value ')'
suggest ::= '(' _ "suggest" _value ')'
files ::= '(' _ "files" _value [{_ value}] ')'
-::= {"-0" | "-a" | "-d" | "-D" | "-f" | "-l" | "-r"} [{value}]
+::= {"-0" | "-a" | "-d" | "-D" | "-f" | "-l" | "-r" | "-b" | "-c" | "-s" | "-S" | "-p"} [{value}]
bind ::= '(' _ "bind" _value ')'