mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
jmavsim_run.sh: fix the wrong flags expression in getopt (#20162)
This commit is contained in:
@@ -12,7 +12,7 @@ baudrate=921600
|
|||||||
device=
|
device=
|
||||||
ip="127.0.0.1"
|
ip="127.0.0.1"
|
||||||
protocol="tcp"
|
protocol="tcp"
|
||||||
while getopts ":b:d:u:p:qsr:f:i:loat" opt; do
|
while getopts "b:d:ui:p:qsr:loat" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
b)
|
b)
|
||||||
baudrate=$OPTARG
|
baudrate=$OPTARG
|
||||||
|
|||||||
Reference in New Issue
Block a user