aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example')
-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'))