diff options
Diffstat (limited to '')
| -rw-r--r-- | doc/example | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/example b/doc/example index 58c37b1..74bf56e 100644 --- a/doc/example +++ b/doc/example @@ -23,23 +23,23 @@ ; -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')) + ((options -f --file --pony) (complete --file --pony) (arg PONY) (suggest pony-f) (files -f *.pony) (desc 'Specify the pony that should be printed')) + ((options +f ++file ++pony) (complete ++file ++pony) (arg PONY) (suggest pony+f) (files -f *.pony) (desc 'Specify the extrapony that should be printed')) ((options -q --quote) (complete --quote) (arg PONY) (suggest pony-q) (files -f *.pony) (desc 'Specify the pony that should quote herself')) - ((options -b --bubble --balloon) (complete --balloon) (arg STYLE) (suggest balloon) (files -f (case (ponysay *.say) (ponyhink *.think))) (desc 'Specify message balloon style')) + ((options -b --bubble --balloon) (complete --balloon) (arg STYLE) (suggest balloon) (files -f (case (ponysay *.say) (ponythink *.think))) (desc 'Specify message balloon style')) ((options -W --wrap) (complete --wrap) (arg COLUMN) (suggest wrap) (files -0) (desc 'Specify wrapping column')) ((options +c --colour) (complete --colour) (arg ANSI-COLOUR) (files -0) (desc 'Specify colour of the balloon, balloon link and message')) ((options --colour-bubble --colour-balloon) (arg ANSI-COLOUR) (files -0) (desc 'Specify colour of the balloon')) ((options --colour-link) (arg ANSI-COLOUR) (files -0) (desc 'Specify colour of the balloon link')) ((options --colour-msg --colour-message) (arg ANSI-COLOUR) (files -0) (desc 'Specify colour of the message')) ((options --colour-pony) (arg ANSI-COLOUR) (files -0) (desc 'Specify colour of the pony (if uncoloured)')) - ((options --colour-wrap --colour-hyphen) (arg ANSI-COLOUR) (files -0) (desc 'Specify addition colour of wrapping hyphen')) + ((options --colour-wrap --colour-hyphen) (arg ANSI-COLOUR) (files -0) (desc 'Specify additional colour of wrapping hyphen')) ) ; `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')) + (variadic (options --q --quotes) (bind -q) (desc 'Specify the pony that may quote themselves')) (suggestion message (verbatim MESSAGE) ) |
