lib/clickatell/utility/options.rb in clickatell-0.3.0 vs lib/clickatell/utility/options.rb in clickatell-0.4.0
- old
+ new
@@ -41,9 +41,13 @@
opts.on('-s', '--status MESSAGE_ID',
"Displays the status of the specified message.") do |message_id|
@options.message_id = message_id
@options.show_status = true
end
+
+ opts.on('-d', '--debug') do
+ @options.debugging_enabled = true
+ end
opts.on_tail('-h', '--help', "Show this message") do
puts opts
exit
end