mbrubeck / compleat

Generate command-line completions using a simple DSL.
http://limpet.net/mbrubeck/2009/10/30/compleat.html
472 stars 18 forks source link

spacing problem #6

Open michaelzoech opened 14 years ago

michaelzoech commented 14 years ago

Hi

I wanted to create a completion for the following pattern:

app -P profileX,profileY,profileZ

by doing this

app (..... | -P <profile>[,<profile>] ...)

but through compleat i get

app -P profileX , profileY , profileZ

Am i doing something wrong or is it somehow possible to get rid of the spacing?

mbrubeck commented 14 years ago

There's not a good way to do this in Compleat right now. I want to fix this, but I'm not sure yet how I want to do it. (Patches welcome...)

dsanson commented 12 years ago

Just discovered compleat, and hoped to write a pandoc.usage file, but ran into this barrier, as pandoc has lots of options that require no spaces, like

pandoc --mathjax[=<url>] --bibliography=<file>  --email-obfuscation=[(none|javascript|references)]