Skip to content

Commit

Permalink
Merge pull request #219 from noir-cr/improve/update-desc-of-help
Browse files Browse the repository at this point in the history
Update description of help message
  • Loading branch information
hahwul authored Jan 10, 2024
2 parents 1f842dd + 85f7568 commit 9f2b6f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/noir.cr
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ OptionParser.parse do |parser|
end

parser.separator "\n Deliver:".colorize(:blue)
parser.on "--send-req", "Send the results to the web request" { |_| noir_options[:send_req] = "yes" }
parser.on "--send-proxy http://proxy..", "Send the results to the web request via http proxy" { |var| noir_options[:send_proxy] = var }
parser.on "--send-es http://es..", "Send the results to elasticsearch" { |var| noir_options[:send_es] = var }
parser.on "--with-headers X-Header:Value", "Add Custom Headers to be Used in Deliver" do |var|
parser.on "--send-req", "Send results to a web request" { |_| noir_options[:send_req] = "yes" }
parser.on "--send-proxy http://proxy..", "Send results to a web request via an HTTP proxy" { |var| noir_options[:send_proxy] = var }
parser.on "--send-es http://es..", "Send results to Elasticsearch" { |var| noir_options[:send_es] = var }
parser.on "--with-headers X-Header:Value", "Add custom headers to be included in the delivery" do |var|
noir_options[:send_with_headers] += "#{var}::NOIR::HEADERS::SPLIT::"
end
parser.on "--use-matchers string", "Delivers URLs that match a specific condition" do |var|
parser.on "--use-matchers string", "Send URLs that match specific conditions to the Deliver" do |var|
noir_options[:use_matchers] += "#{var}::NOIR::MATCHER::SPLIT::"
end
parser.on "--use-filters string", "Excludes URLs that match a specific condition" do |var|
parser.on "--use-filters string", "Exclude URLs that match specified conditions and send the rest to Deliver" do |var|
noir_options[:use_filters] += "#{var}::NOIR::FILTER::SPLIT::"
end

Expand Down

0 comments on commit 9f2b6f8

Please sign in to comment.