unlucky 13 character config name
Reported by bahuvrihi | September 3rd, 2008 @ 11:17 PM
13-character config names cause an unusual 'can't convert nil into String' error, evidently caused within OptParse.
# Sample::manifest run checks
class Sample < Tap::Task
config :abcdefghijklm, ""
end
% tap run -- sample --help
Will raise this error. Adding a comment after config is a workaround. I think this also has to do with the awful presentation of long config names by OptParse.
Comments and changes to this ticket
-
bahuvrihi September 3rd, 2008 @ 11:53 PM
- State changed from new to resolved
- Assigned user set to bahuvrihi
(from [fa6099e20744a49ed5cfcd743cd9f87379e0445b]) Added patch to OptParse option formatting, to handle the unlucky 13 and long argument issues. [#97 state:resolved responsible:bahuvrihi] http://github.com/bahuvrihi/tap/...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for making configurable, file-based tasks and workflows.
People watching this ticket
Referenced by
- 97 unlucky 13 character config name (from [fa6099e20744a49ed5cfcd743cd9f87379e0445b]) Added p...