diff options
| author | Mattias Andrée <maandree@operamail.com> | 2012-10-29 02:57:03 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2012-10-29 02:57:03 +0100 | 
| commit | 196a330058125c0a1715f0c8b72d984574b8b971 (patch) | |
| tree | 0a95ec93899cc3ac58db9daaf3057315d328f419 /example | |
| parent | fish completion (diff) | |
| download | auto-auto-complete-196a330058125c0a1715f0c8b72d984574b8b971.tar.gz auto-auto-complete-196a330058125c0a1715f0c8b72d984574b8b971.tar.bz2 auto-auto-complete-196a330058125c0a1715f0c8b72d984574b8b971.tar.xz | |
default arguments
Diffstat (limited to '')
| -rw-r--r-- | example | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -1,5 +1,6 @@  (ponysay - +	(default (arg MESSAGE) (files -0) (suggest message) (desc 'Message spoken by the pony')) +	  	(multiple unargumented  		((options -h --help)                      (complete --help)        (desc 'Show summary of options'))  		((options -v --version)                   (complete --version)     (desc 'Show version of program')) @@ -38,6 +39,8 @@  	(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')) +	(suggestion message (verbatim MESSAGE) +	)  	(suggestion pony-f  (exec "'/usr/bin/ponysay'" --onelist)  	                    (no-exec ls "'/usr/share/ponysay/ponies'" .pony)  	) | 
