lib/csd/options_parser.rb in csd-0.1.7 vs lib/csd/options_parser.rb in csd-0.1.8

- old
+ new

@@ -42,11 +42,11 @@ self.help = false self.application = nil self.action = nil # Now we define the default options self.yes = false - self.dry = false + self.local = false self.reveal = false self.verbose = false self.silent = false self.developer = false # Shortcut to allow for debugging the options parser itself @@ -112,12 +112,12 @@ options_prepend = Applications.current ? 'GENERAL ' : nil opts.headline "#{options_prepend}OPTIONS".green.bold opts.on("-y", "--yes", "Answer all questions with `yes´ (batch mode)") do |value| self.yes = value end - opts.on("-p", "--dry","Don't actually execute any commands (preview mode)") do |value| - self.dry = value - end + #opts.on("-l", "--local","Assume that there is no uplink to the Internet") do |value| + # self.online = !value + #end opts.on("-r", "--reveal","List all commands that normally would be executed in this operation") do |value| self.reveal = value end opts.on("-e", "--verbose","Show more elaborate output") do |value| self.verbose = value