zsh-workers
 help / color / mirror / code / Atom feed
* Leveraging the completion system to discover available options in a command
@ 2013-03-01 13:23 Idan Kamara
  2013-03-01 15:07 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Idan Kamara @ 2013-03-01 13:23 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

Hi,

Is it possible to use the completion system to get a list of available
options for a command zsh knows how to auto-complete?

Ideally, I'd like given the name of a program to get a list of pairs
(option string, desc) for each available option. I'd be nice to also
get options that are only available in a specific context, but given
how the completion system works, I'd guess that that might be
impossible.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-01 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 13:23 Leveraging the completion system to discover available options in a command Idan Kamara
2013-03-01 15:07 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).