From 429656ed252e596f8c4e32216a7314f6172c4e48 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 15 May 2018 13:57:54 +0200 Subject: bin/db-update,bin/delete-packages,bin/get-package-updates -b|--block -> -w|--wait to unitise flags --- bin/get-package-updates | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 8931a3a..91bdde3 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -23,13 +23,13 @@ usage() { >&2 echo ' and build a list in the proper build order' >&2 echo '' >&2 echo 'possible options:' - >&2 echo ' -b|--block: If necessary, wait for lock blocking.' >&2 echo ' -d|--date $datetime:' >&2 echo ' Pull latest commit before $datetime' >&2 echo ' (yyyy-mm-ddThh:mm:ss). Conflicts -n.' >&2 echo ' -h|--help: Show this help and exit.' >&2 echo ' -n|--no-pull: Do not pull git repos, merely reorder build list.' >&2 echo ' Conflicts -d.' + >&2 echo ' -w|--wait: If necessary, wait for lock blocking.' >&2 echo ' -x|--test-exclusion $package:' >&2 echo ' Print additionally deleted/excluded packages if' >&2 echo ' "$package" would be black listed.' @@ -37,12 +37,12 @@ usage() { } eval set -- "$( - getopt -o bd:hnx: \ - --long block \ + getopt -o d:hnwx: \ --long date: \ --long help \ --long no-pull \ --long test-exclusion: \ + --long wait \ -n "$(basename "$0")" -- "$@" || \ echo usage )" @@ -55,9 +55,6 @@ pull=true while true do case "$1" in - -b|--block) - block_flag='' - ;; -d|--date) shift date_time="$1" @@ -68,6 +65,9 @@ do -n|--no-pull) pull=false ;; + -w|--wait) + block_flag='' + ;; -x|--test-exclusion) shift if [ -n "${test_exclusion}" ]; then -- cgit v1.2.3-54-g00ecf