william's blog | 2012-02-04 11:50:38 +0000 =========================================== Trollop news ------------ Date: July 30, 2008 10:58pm Author: William Morgan Labels: trollop URL: http://masanjin.net/blog/old32.txt Looks like there was a Ruby Inside article featuring Trollop [1] a few weeks ago. Partially as a result of this, I have at least two other people contributing patches. For a project that's been around for a few years and basically had no one but me use it, that's a nice change of pace. I've also moved it over from SVN to git (hosted on Gitorious [2], which probably will help some. [1] http://www.rubyinside.com/trollop-command-line-option-parser-for-ruby-944.html [2] http://gitorious.org/projects/trollop) Replies -------- Peter Cooper, on August 3, 2008 3:33pm: ["| That's awesome news! I think I saw Trollop when you posted a little update to\n", "| ruby-talk a month or two ago, so unless you want to get in touch with me\n", "| specifically, that's a great way of getting the news out.\n", "| \n"] Brendan, on August 16, 2008 12:26am: ["| I still use Trollop a lot but have never felt the need to patch it. Well, one\n", "| issue: if you have lots and lots of flags, the guessing system to generate a\n", "| short name will make conflicts and error out. But the workaround is very easy\n", "| (manually specify all shortnames).\n", "| \n", "| I tried extending cgi.rb with Trollop's option type specification and parsing\n", "| system, since it's a similar problem -- options are passed over a string-only\n", "| channel (values of the query string). the hack is here\n", "| http://gist.github.com/5682 [1]\n", "| \n", "| \n", "| [1] http://gist.github.com/5682\n"] William, on August 19, 2008 12:27am: ["| \n", "| In June I fixed a problem where it was trying to pick dashes out of long\n", "| argument names for the one-char name, and then dying because that was invalid.\n", "| I think that was the biggest source of errors related to this.\n", "| \n", "| The larger problem of death by running out of characters for short options is,\n", "| I think, ok. Once the option list grows beyond a certain size, you should be\n", "| specifying your own short options, because otherwise it's just a matter of\n", "| time before you add one more option and _every_ automatically-picked short\n", "| option changes. Then your users get unhappy.\n", "| \n"] This delicious text version served up by Whisper .