Pārlūkot izejas kodu

🔨 Fix 'mftest -s'

Scott Lahteine 2 gadus atpakaļ
vecāks
revīzija
e458aa41fc
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4
    2
      buildroot/bin/mftest

+ 4
- 2
buildroot/bin/mftest Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt