Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Help registry

#208

Command line apps like tap could really benefit from a help registry so that certain errors can be supplemented with user help.

begin
  # ...
rescue
  raise if $DEBUG
  puts $!.message

  # replace this with a help registry
  if $!.message == "no nodes specified" && !ARGV.empty?
    puts "(did you mean 'tap run -- #{ARGV.join(' ')}'?)"
  end
  exit(1)
end

exit(0)

Reported by bahuvrihi · May 17th, 2009 @ 11:25 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.