lib/rundock/cli.rb in rundock-0.5.4 vs lib/rundock/cli.rb in rundock-0.5.7
- old
+ new
@@ -23,10 +23,10 @@
Rundock::Logger.formatter.date_header = options[:date_header]
end
desc 'version', 'Print version'
def version
- puts "#{Rundock::VERSION}"
+ puts Rundock::VERSION.to_s
end
desc 'do [SCENARIO] [options]', 'Run rundock from scenario file'
option :sudo, type: :boolean, default: false
option :default_ssh_opts, type: :string, aliases: ['-d'], default: DEFAULT_SSH_OPTIONS_DEFAULT_FILE_PATH