As proposed ITA is hidden by default and activated using -i flag. Is it a valid solution?
-- Simone Vellei (henomis) GPG KEYID: A3D37CF4 GPG FINGERPRINT: 5A79 3A3A 143E 9B37 9B38 FB86 8E45 8B62 A3D3 7CF4
diff -Naur a/bin/how-can-i-help b/bin/how-can-i-help --- a/bin/how-can-i-help 2014-02-03 22:04:03.000000000 +0100 +++ b/bin/how-can-i-help 2014-02-19 00:07:41.107005164 +0100 @@ -38,6 +38,7 @@ $quiet = false $all = false +$ita = false $proxy_url = ENV["HTTP_PROXY"] || ENV["http_proxy"] optparse = OptionParser.new do |opts| @@ -55,6 +56,10 @@ $all = true end + opts.on('-i', '--ita', 'include ITA') do + $ita = true + end + opts.on('-q', '--quiet', 'do not display header and footer') do $quiet = true end @@ -123,6 +128,7 @@ helpitems_filtered = [] helpitems.each do |hi| next if (not $all) and seen.include?(hi['hash']) + next if hi['wnpptype'] == 'ITA' and (not $ita) if hi['type'] == 'wnpp' if packages & hi['packages'] != [] helpitems_filtered << hi