diff --git a/core/main/console/commandline.rb b/core/main/console/commandline.rb index 39597256b9..831c9ebabe 100644 --- a/core/main/console/commandline.rb +++ b/core/main/console/commandline.rb @@ -85,10 +85,11 @@ def self.parse end # - # Return the parsed options + # Return the parsed options. + # Ensures that cmd line arguments are parsed. # def self.get_options - raise 'Must parse options before retrieving them. Call CommandLine.parse' unless @already_parsed + self.class.parse unless @already_parsed return @options end