In Klish XML configuration, I am trying to pass multiple space-separated values to a single variable using a PARAM tag with ptype="LIST_SPACE".
However, only the first value is being captured, and the rest are ignored, resulting in a "Syntax error: Illegal command line" message. How can I configure Klish XML to accept a series of space-separated values and pass them into a single variable or handle them correctly?
--
You received this message because you are subscribed to the Google Groups "klish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klish+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/klish/b9a98bb3-ce02-432e-bc5e-5abd27eaf36fn%40googlegroups.com.
Hi Serj,
Thanks for your response.
Still on this topic, I have tried using args, and it successfully captures all remaining values after the fixed PARAM.
However, I would like to have completion support for each variable.
Ex: command option1 option2 optionN..., and I can completion with tab like a suggestion for each option.
Since the number of variables is not fixed, I cannot use switch or declare multiple PARAM tags.
Is there any method to solve this issue?
Thank you.
To view this discussion visit https://groups.google.com/d/msgid/klish/8ae1f708-d480-419a-a000-d1124185a654n%40googlegroups.com.