lib/ronin/ui/cli/commands/urls.rb in ronin-1.4.1 vs lib/ronin/ui/cli/commands/urls.rb in ronin-1.5.0.rc1
- old
+ new
@@ -58,39 +58,48 @@
model URL
summary 'Manages URLs'
- query_option :http, :type => true
- query_option :https, :type => true
+ query_option :http, :type => true,
+ :description => 'Searches for http:// URLs'
- query_option :hosts, :type => Array,
- :flag => '-H',
- :usage => 'HOST [...]'
+ query_option :https, :type => true,
+ :description => 'Searches for https:// URLs'
- query_option :ports, :type => Array[Integer],
- :flag => '-P',
- :usage => 'PORT [...]'
+ query_option :hosts, :type => Array,
+ :flag => '-H',
+ :usage => 'HOST [...]',
+ :description => 'Searches for the associated HOST(s)'
- query_option :directory, :type => String,
- :flag => '-d',
- :usage => 'SUBDIR'
+ query_option :ports, :type => Array[Integer],
+ :flag => '-P',
+ :usage => 'PORT [...]',
+ :description => 'Searches for the associated PORT(s)'
- query_option :with_query_param, :type => Array,
- :flag => '-q',
- :usage => 'NAME [...]'
+ query_option :directory, :type => String,
+ :flag => '-d',
+ :description => 'Searches for the associated DIRECTORY'
- query_option :with_query_value, :type => Array,
- :flag => '-Q',
- :usage => 'VALUE [...]'
+ query_option :with_query_param, :type => Array,
+ :flag => '-q',
+ :usage => 'NAME [...]',
+ :description => 'Searches for the associated query-param NAME(s)'
- option :list, :type => true,
- :default => true,
- :flag => '-l'
+ query_option :with_query_value, :type => Array,
+ :flag => '-Q',
+ :usage => 'VALUE [...]',
+ :description => 'Searches for the associated query-param VALUE(s)'
- option :import, :type => String,
- :flag => '-i',
- :usage => 'FILE'
+ option :list, :type => true,
+ :default => true,
+ :flag => '-l',
+ :description => 'Lists the URLs'
+
+ option :import, :type => String,
+ :flag => '-i',
+ :usage => 'FILE',
+ :description => 'Imports URLs from the FILE'
protected
#
# Prints a URL.