lib/ronin/cli/commands/dns.rb in ronin-2.0.1 vs lib/ronin/cli/commands/dns.rb in ronin-2.0.2
- old
+ new
@@ -26,11 +26,11 @@
#
# Queries DNS records for the given host name.
#
# ## Usage
#
- # ronin dns [options] [HOST [...]]
+ # ronin dns [options] {HOST ... | --file FILE}
#
# ## Options
#
# -f, --file FILE Optional file to read values from
# -N, --nameserver IP Send DNS queries to the nameserver
@@ -44,10 +44,10 @@
#
class Dns < ValueProcessorCommand
include DNS
- usage '[options] HOST'
+ usage '[options] {HOST ... | --file FILE}'
option :type, short: '-t',
value: {
type: {
A: :a,