Merge pull request #626 from marceloaqno/rpi-old-options
RPi: Add warning msg for deprecated option
This commit is contained in:
@@ -255,6 +255,10 @@ for opt do
|
|||||||
--my-transport=*)
|
--my-transport=*)
|
||||||
transport_type=${optarg}
|
transport_type=${optarg}
|
||||||
;;
|
;;
|
||||||
|
--my-radio=*)
|
||||||
|
echo "Warning: --my-radio is deprecated, please use --my-transport"
|
||||||
|
transport_type=${optarg}
|
||||||
|
;;
|
||||||
--my-serial-port=*)
|
--my-serial-port=*)
|
||||||
CXXFLAGS="-DMY_LINUX_SERIAL_PORT=\\\"${optarg}\\\" $CXXFLAGS"
|
CXXFLAGS="-DMY_LINUX_SERIAL_PORT=\\\"${optarg}\\\" $CXXFLAGS"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user