]> Sergey Matveev's repositories - bfs.git/commitdiff
tests: Rename --noclean -> --no-clean
authorTavian Barnes <tavianator@tavianator.com>
Thu, 19 Oct 2023 12:04:30 +0000 (08:04 -0400)
committerTavian Barnes <tavianator@tavianator.com>
Thu, 19 Oct 2023 12:04:30 +0000 (08:04 -0400)
tests/tests.sh

index 61e4aba46ad6e14f346b8a85f83d9f93d627ccd8..282a428e5f3e240b3d4aab71f6e6a9894f70f352 100755 (executable)
@@ -94,7 +94,7 @@ function usage() {
     local pad=$(printf "%*s" ${#0} "")
     cat <<EOF
 Usage: ${GRN}$0${RST} [${BLU}--bfs${RST}=${MAG}path/to/bfs${RST}] [${BLU}--sudo${RST}[=${BLD}COMMAND${RST}]] [${BLU}--stop${RST}]
-       $pad [${BLU}--noclean${RST}] [${BLU}--update${RST}] [${BLU}--verbose${RST}[=${BLD}LEVEL${RST}]] [${BLU}--help${RST}]
+       $pad [${BLU}--no-clean${RST}] [${BLU}--update${RST}] [${BLU}--verbose${RST}[=${BLD}LEVEL${RST}]] [${BLU}--help${RST}]
        $pad [${BLU}--posix${RST}] [${BLU}--bsd${RST}] [${BLU}--gnu${RST}] [${BLU}--all${RST}] [${BLD}TEST${RST} [${BLD}TEST${RST} ...]]
 
   ${BLU}--bfs${RST}=${MAG}path/to/bfs${RST}
@@ -106,7 +106,7 @@ Usage: ${GRN}$0${RST} [${BLU}--bfs${RST}=${MAG}path/to/bfs${RST}] [${BLU}--sudo$
   ${BLU}--stop${RST}
       Stop when the first error occurs
 
-  ${BLU}--noclean${RST}
+  ${BLU}--no-clean${RST}
       Keep the test directories around after the run
 
   ${BLU}--update${RST}
@@ -170,7 +170,7 @@ for arg; do
         --stop)
             STOP=yes
             ;;
-        --noclean)
+        --no-clean|--noclean)
             CLEAN=
             ;;
         --update)