diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-02 10:27:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-02 10:27:12 +0100 |
commit | 2b1a0a9fdb87c5bd0ea73b4c13ac35122327e5b6 (patch) | |
tree | 86419a414961955419d503fbcf8069a6fc20337b | |
parent | add rationale and man page (diff) | |
download | auto-auto-complete-2b1a0a9fdb87c5bd0ea73b4c13ac35122327e5b6.tar.gz auto-auto-complete-2b1a0a9fdb87c5bd0ea73b4c13ac35122327e5b6.tar.bz2 auto-auto-complete-2b1a0a9fdb87c5bd0ea73b4c13ac35122327e5b6.tar.xz |
add -b -c -S -p to (files) (this does not change the program, because this is not actually supported) + add -s for (files) in doc/syntax, which was missing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | doc/example | 4 | ||||
-rw-r--r-- | doc/info/auto-auto-complete.texinfo | 8 | ||||
-rw-r--r-- | doc/syntax | 2 |
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 @@ -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 ')' |