RPi: Add warning msg for deprecated option

This commit is contained in:
Marcelo Aquino
2016-10-21 17:17:28 -02:00
parent b1eef0c079
commit 7a969670ac
Vendored
+4
View File
@@ -255,6 +255,10 @@ for opt do
--my-transport=*)
transport_type=${optarg}
;;
--my-radio=*)
echo "Warning: --my-radio is deprecated, please use --my-transport"
transport_type=${optarg}
;;
--my-serial-port=*)
CXXFLAGS="-DMY_LINUX_SERIAL_PORT=\\\"${optarg}\\\" $CXXFLAGS"
;;