summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-19 08:04:30 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-19 08:04:30 -0400
commitb1c6199ad82de2081f18eba931a787a25eb27ea7 (patch)
treefe4e69b4d1b71250b74eefbae7312f04bc060e53
parent55904f21f8565986fbd04cf0cfba486f936c08a6 (diff)
downloadbfs-b1c6199ad82de2081f18eba931a787a25eb27ea7.tar.xz
tests: Rename --noclean -> --no-clean
-rwxr-xr-xtests/tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.sh b/tests/tests.sh
index 61e4aba..282a428 100755
--- a/tests/tests.sh
+++ b/tests/tests.sh
@@ -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)