aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-11 21:21:50 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-11 21:21:50 +0200
commitaedc9314d274b11f507ed5e771f03012bf61601d (patch)
tree26f98c4559bb715d963f20749019cdf4b60ca50b
parentbasics of the syntax (diff)
downloadauto-auto-complete-aedc9314d274b11f507ed5e771f03012bf61601d.tar.gz
auto-auto-complete-aedc9314d274b11f507ed5e771f03012bf61601d.tar.bz2
auto-auto-complete-aedc9314d274b11f507ed5e771f03012bf61601d.tar.xz
fix comments in example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/example4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/example b/doc/example
index 6212c06..a993b54 100644
--- a/doc/example
+++ b/doc/example
@@ -19,7 +19,7 @@
)
; 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, -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
(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'))
@@ -34,7 +34,7 @@
((options --colour-wrap --colour-hyphen) (arg ANSI-COLOUR) (files -0) (desc 'Specify addition colour of wrapping hyphen'))
)
- ; `bind` copies everything that is missing except `options` and `suggest`
+ ; `bind` copies everything that is missing except `options` and `complete`
(variadic (options --f --files --ponies) (bind -f) (desc 'Specify the ponies that may be printed'))
(variadic (options ++f ++files ++ponies) (bind +f) (desc 'Specify the extraponies that may be printed'))
(variadic (options --q --quotes) (bind -q) (desc 'Specify the pony that may quote themself'))