diff options
author | Erich Eckner <git@eckner.net> | 2018-05-15 13:57:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-15 13:57:54 +0200 |
commit | 429656ed252e596f8c4e32216a7314f6172c4e48 (patch) | |
tree | 86fa68218e9632d82454802edeee28bc185f74de /bin/get-package-updates | |
parent | 1a1f676cb7e77334b85c27db23be75d5ca8f1909 (diff) | |
download | builder-429656ed252e596f8c4e32216a7314f6172c4e48.tar.xz |
bin/db-update,bin/delete-packages,bin/get-package-updates -b|--block -> -w|--wait to unitise flags
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 12 |
1 files changed, 6 insertions, 6 deletions
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 |