Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed May 12, 2024
1 parent 58917b7 commit 570f7ba
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions lib/ronin/web/cli/commands/spider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,36 +241,36 @@ class Spider < Command
option :strip_query, desc: 'Enables/disables stripping the query component of every URL'

option :visit_scheme, value: {
type: String,
usage: 'SCHEME'
},
desc: 'Visit URLs with the URI scheme' do |scheme|
@visit_schemes << scheme
end
type: String,
usage: 'SCHEME'
},
desc: 'Visit URLs with the URI scheme' do |scheme|
@visit_schemes << scheme
end

option :visit_schemes_like, value: {
type: Regexp,
usage: '/REGEX/'
},
desc: 'Visit URLs with URI schemes that match the REGEX' do |regex|
@visit_schemes << regex
end
type: Regexp,
usage: '/REGEX/'
},
desc: 'Visit URLs with URI schemes that match the REGEX' do |regex|
@visit_schemes << regex
end

option :ignore_scheme, value: {
type: String,
usage: 'SCHEME'
},
desc: 'Ignore the URLs with the URI scheme' do |scheme|
@ignore_schemes << scheme
end
type: String,
usage: 'SCHEME'
},
desc: 'Ignore the URLs with the URI scheme' do |scheme|
@ignore_schemes << scheme
end

option :ignore_schemes_like, value: {
type: Regexp,
usage: '/REGEX/'
},
desc: 'Ignore the URLs with URI schemes matching the REGEX' do |regex|
@ignore_schemes << regex
end
type: Regexp,
usage: '/REGEX/'
},
desc: 'Ignore the URLs with URI schemes matching the REGEX' do |regex|
@ignore_schemes << regex
end

option :visit_host, value: {
type: String,
Expand Down

0 comments on commit 570f7ba

Please sign in to comment.