Method: Exec::NodeInfo#set_options

Defined in:
lib/exec/node_info.rb

#set_optionsObject (private)

Parse and check the parameters of the function.

Author:

  • tnoguer



27
28
29
30
# File 'lib/exec/node_info.rb', line 27

def set_options
  @logger.info("Exec::NodeInfo   Setting options")
  @options.add_option("n", "node", "Displays informations about a node.", true, true, method(:check_crowbar_node_name))
end