lib/macros4cuke/cli/cmd-line.rb in macros4cuke-0.5.07 vs lib/macros4cuke/cli/cmd-line.rb in macros4cuke-0.5.08
- old
+ new
@@ -6,15 +6,12 @@
require 'cucumber/platform'
require_relative '../constants'
module Macros4Cuke # Module used as a namespace
-
# Module dedicated to the command-line interface
module CLI
-
-
# Manages the application command-line interface (CLI).
# It is merely a thin wrapper around the OptionParser library.
# Responsibilities:
#- Specify the command-line syntax,
#- Return the result of the command-line parsing
@@ -68,11 +65,10 @@
ruby = "Ruby #{RUBY_VERSION} #{RUBY_PLATFORM}"
msg = "#{Macros4Cuke::Version} (using #{cuke}, running on #{ruby})"
puts msg
options[:version] = true
end
-
end
end
public
@@ -130,13 +126,10 @@
def short_help()
puts ShortHelpMsg
exit
end
-
end # class
-
end # module
-
end # module
# End of file