commit c9eddd46990542cf694c9ae0e6e1bb0485e80bbe
parent fa7cf72a298ead73233c4bf35cbdc0782bbc2e0b
Author: kristapsdz <kristaps@bsd.lv>
Date: Wed, 6 May 2020 16:01:36 +0000
parent fa7cf72a298ead73233c4bf35cbdc0782bbc2e0b
Author: kristapsdz <kristaps@bsd.lv>
Date: Wed, 6 May 2020 16:01:36 +0000
Oops: add -r to getopt and a tiny bit of documentation.
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/minci.sh b/minci.sh @@ -1,7 +1,11 @@ #! /bin/sh # Usage: -# minci.sh [-fnv] [repo...] +# minci.sh [-fnrv] [repo...] +# -f: force updates +# -n: don't do anything, but show what would be done +# -r: run full check, but don't upload results +# -v: more data while running # Use ~/.minci or /etc/minci for configuration, whichever comes first. MAKE="make" @@ -61,7 +65,7 @@ runnolog() fi } -args=$(getopt fnv $*) +args=$(getopt fnrv $*) if [ $? -ne 0 ] then echo "usage: $PROGNAME [-fnrv] [repo ...]" 1>&2
: nply/minci