bin/devsniff in device_input-0.1.0.1 vs bin/devsniff in device_input-0.1.1.1
- old
+ new
@@ -11,10 +11,12 @@
end
case mode
when 'normal'
mode = 'to_s'
-when 'pretty', 'raw', 'bytes'
+when 'bytes' # legacy
+ mode = 'hex'
+when 'pretty', 'raw', 'hex'
# ok
else
raise "unsupported mode: #{mode}"
end