root-view.xml and types.xml mismatch
Brought to you by:
gmckerrell
Hi,
I was looking at the clish package for the first time so I tried the params command in the examples. I noticed the -prefix does not work and found out it was a known issue so I removed the prefixes from the root-view.xml file. When I tried to run the example again, I noticed the default values did not show as expected for parameters 3 and 4. After going a bit through the code, I found out it was because the default values specified in the root-view.xml file had a "-" character. Removing that character ("three-default" became "threedefault") made the example work properly. I figured out the regex for STRING defined in types.xml probably does not allow the "-" character.