Kaynağa Gözat

🔨 Fix 'mftest -s'

Scott Lahteine 2 yıl önce
ebeveyn
işleme
e458aa41fc
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4
    2
      buildroot/bin/mftest

+ 4
- 2
buildroot/bin/mftest Dosyayı Görüntüle

@@ -17,6 +17,7 @@ usage() {
17 17
 Usage: mftest [-t|--env=<env|index>] [-n|--num=<num>] [-m|--make] [-y|--build=<Y|n>]
18 18
        mftest [-a|--autobuild]
19 19
        mftest [-r|--rebuild]
20
+       mftest [-s|--silent]
20 21
        mftest [-u|--autoupload] [-n|--num=<num>]
21 22
 
22 23
 OPTIONS
@@ -30,7 +31,7 @@ OPTIONS
30 31
   -v --verbose     Extra output for debugging.
31 32
   -s --silent      Silence build output from PlatformIO.
32 33
 
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
34 35
 "
35 36
 }
36 37
 
@@ -52,7 +53,7 @@ TESTENV='-'
52 53
 CHOICE=0
53 54
 DEBUG=0
54 55
 
55
-while getopts 'abhmruvyn:t:-:' OFLAG; do
56
+while getopts 'abhmrsuvyn:t:-:' OFLAG; do
56 57
   case "${OFLAG}" in
57 58
     a) AUTO_BUILD=1 ; bugout "Auto-Build target..." ;;
58 59
     h) EXIT_USAGE=1 ;;
@@ -84,6 +85,7 @@ while getopts 'abhmruvyn:t:-:' OFLAG; do
84 85
                esac
85 86
                ;;
86 87
       rebuild) REBUILD=1  ; bugout "Rebuilding previous..." ;;
88
+       silent) SILENT_FLAG="-s" ;;
87 89
          make) USE_MAKE=1 ; bugout "Using make with Docker..." ;;
88 90
 debug|verbose) DEBUG=1    ; bugout "Debug ON" ;;
89 91
         build) case "$OVAL" in

Loading…
İptal
Kaydet