Skip to content

Commit e458aa4

Browse files
committed
🔨 Fix 'mftest -s'
1 parent a63205a commit e458aa4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

buildroot/bin/mftest

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ usage() {
1717
Usage: mftest [-t|--env=<env|index>] [-n|--num=<num>] [-m|--make] [-y|--build=<Y|n>]
1818
mftest [-a|--autobuild]
1919
mftest [-r|--rebuild]
20+
mftest [-s|--silent]
2021
mftest [-u|--autoupload] [-n|--num=<num>]
2122
2223
OPTIONS
@@ -30,7 +31,7 @@ OPTIONS
3031
-v --verbose Extra output for debugging.
3132
-s --silent Silence build output from PlatformIO.
3233
33-
env shortcuts: tree due esp lin lpc|lpc8 lpc9 m128 m256|mega stm|f1 f4 f7 s6 teensy|t31|t32 t35|t36 t40|t41
34+
env shortcuts: tree due esp lin lp8|lpc8 lp9|lpc9 m128 m256|mega stm|f1 f4 f7 s6 teensy|t31|t32 t35|t36 t40|t41
3435
"
3536
}
3637

@@ -52,7 +53,7 @@ TESTENV='-'
5253
CHOICE=0
5354
DEBUG=0
5455

55-
while getopts 'abhmruvyn:t:-:' OFLAG; do
56+
while getopts 'abhmrsuvyn:t:-:' OFLAG; do
5657
case "${OFLAG}" in
5758
a) AUTO_BUILD=1 ; bugout "Auto-Build target..." ;;
5859
h) EXIT_USAGE=1 ;;
@@ -84,6 +85,7 @@ while getopts 'abhmruvyn:t:-:' OFLAG; do
8485
esac
8586
;;
8687
rebuild) REBUILD=1 ; bugout "Rebuilding previous..." ;;
88+
silent) SILENT_FLAG="-s" ;;
8789
make) USE_MAKE=1 ; bugout "Using make with Docker..." ;;
8890
debug|verbose) DEBUG=1 ; bugout "Debug ON" ;;
8991
build) case "$OVAL" in

0 commit comments

Comments
 (0)