From e458aa41fcbc817a21a0376e5dc36c0a0b755c47 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue, 22 Mar 2022 20:11:58 -0500
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Fix=20'mftest=20-s'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 buildroot/bin/mftest | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/buildroot/bin/mftest b/buildroot/bin/mftest
index 77e53ff9ace..9aa5e127327 100755
--- a/buildroot/bin/mftest
+++ b/buildroot/bin/mftest
@@ -17,6 +17,7 @@ usage() {
 Usage: mftest [-t|--env=<env|index>] [-n|--num=<num>] [-m|--make] [-y|--build=<Y|n>]
        mftest [-a|--autobuild]
        mftest [-r|--rebuild]
+       mftest [-s|--silent]
        mftest [-u|--autoupload] [-n|--num=<num>]
 
 OPTIONS
@@ -30,7 +31,7 @@ OPTIONS
   -v --verbose     Extra output for debugging.
   -s --silent      Silence build output from PlatformIO.
 
-env shortcuts: tree due esp lin lpc|lpc8 lpc9 m128 m256|mega stm|f1 f4 f7 s6 teensy|t31|t32 t35|t36 t40|t41
+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
 "
 }
 
@@ -52,7 +53,7 @@ TESTENV='-'
 CHOICE=0
 DEBUG=0
 
-while getopts 'abhmruvyn:t:-:' OFLAG; do
+while getopts 'abhmrsuvyn:t:-:' OFLAG; do
   case "${OFLAG}" in
     a) AUTO_BUILD=1 ; bugout "Auto-Build target..." ;;
     h) EXIT_USAGE=1 ;;
@@ -84,6 +85,7 @@ while getopts 'abhmruvyn:t:-:' OFLAG; do
                esac
                ;;
       rebuild) REBUILD=1  ; bugout "Rebuilding previous..." ;;
+       silent) SILENT_FLAG="-s" ;;
          make) USE_MAKE=1 ; bugout "Using make with Docker..." ;;
 debug|verbose) DEBUG=1    ; bugout "Debug ON" ;;
         build) case "$OVAL" in