mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Make run_all nag
This commit is contained in:
parent
9f78e87447
commit
ffd1611b46
1 changed files with 11 additions and 0 deletions
|
@ -55,6 +55,17 @@ run_all_parallel() {
|
|||
rm _run_all_parallel.txt
|
||||
}
|
||||
|
||||
if [ ! -z "$1" ] && [ "$1" -ne "--verbose" ] && [ "$1" -ne "--fast" ];
|
||||
then
|
||||
echo "Did you mean --fast or --verbose?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$#" -gt 1 ];
|
||||
then
|
||||
echo "Can only use arguments one at a time."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rc=0
|
||||
if [ x"$1" = x"--verbose" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue