Skip to content

Commit

Permalink
Revert b66c2ca in favor of command_kit-0.5.5.
Browse files Browse the repository at this point in the history
* command_kit-0.5.5 fixes this block argument issue.
  • Loading branch information
postmodern committed Apr 9, 2024
1 parent 809e7ef commit 87875af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ronin/cli/commands/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class Http < ValueProcessorCommand
type: URL_REGEX,
usage: 'URL'
},
desc: 'Open an interactive HTTP shell' do |url,*|
desc: 'Open an interactive HTTP shell' do |url|
options[:shell] = Addressable::URI.parse(url)
rescue Addressable::URI::InvalidURIError => error
raise(OptionParser::InvalidArgument,"invalid URL: #{error.message}")
Expand Down

0 comments on commit 87875af

Please sign in to comment.