Add missing newline

This commit is contained in:
Paul van Tilburg 2014-11-20 21:36:55 +01:00
parent 1f1a40d176
commit fc19ae0530
2 changed files with 3 additions and 2 deletions

View File

@ -137,8 +137,7 @@ end
def commands def commands
puts <<EOT puts <<EOT
Available commands: Lights
lights shows the list of all lights lights shows the list of all lights
(ID, name and state) (ID, name and state)
get [name/ID] get the setting of a light get [name/ID] get the setting of a light
@ -148,6 +147,7 @@ def commands
off [name/ID] turn a light off off [name/ID] turn a light off
refresh! refresh the setting of all lights refresh! refresh the setting of all lights
Groups
groups shows the list of all groups groups shows the list of all groups
(ID, name, IDs of member lights) (ID, name, IDs of member lights)
getgrp [name/ID] get the settings of the lights in a group getgrp [name/ID] get the settings of the lights in a group

View File

@ -26,6 +26,7 @@ opt_parser = OptionParser.new do |opts|
"set an alternative configuration directory") do |cd| "set an alternative configuration directory") do |cd|
options[:config_dir] = cd options[:config_dir] = cd
end end
opts.on("-d", "--debug", "log debug output") do opts.on("-d", "--debug", "log debug output") do
options[:debug] = true options[:debug] = true
end end