Add missing newline
This commit is contained in:
parent
1f1a40d176
commit
fc19ae0530
4
bin/huec
4
bin/huec
|
@ -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
|
||||||
|
|
1
bin/hued
1
bin/hued
|
@ -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
|
||||||
|
|
Reference in New Issue