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/db-update | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/db-update') diff --git a/bin/db-update b/bin/db-update index a2555fe..b6fd116 100755 --- a/bin/db-update +++ b/bin/db-update @@ -30,8 +30,6 @@ usage() { >&2 echo ' move possible packages from staging to testing.' >&2 echo '' >&2 echo 'possible options:' - >&2 echo ' -b|--block:' - >&2 echo ' If necessary, wait for lock blocking.' >&2 echo ' -f|--force $package-id:' >&2 echo ' Force movement of Package with given id and move nothing else.' >&2 echo ' -h|--help:' @@ -42,16 +40,18 @@ usage() { >&2 echo ' Move forward any package which replaces no package whose' >&2 echo ' dependencies are all available somewhere.' >&2 echo ' Note, that this _may_ move _less_ packages.' + >&2 echo ' -w|--wait:' + >&2 echo ' If necessary, wait for lock blocking.' [ -z "$1" ] && exit 1 || exit "$1" } eval set -- "$( - getopt -o bf:hnp \ - --long block \ + getopt -o f:hnpw \ --long force \ --long help \ --long no-action \ --long progressive \ + --long wait \ -n "$(basename "$0")" -- "$@" || \ echo usage )" @@ -64,9 +64,6 @@ force_ids='' while true do case "$1" in - -b|--block) - block_flag='' - ;; -f|--force) shift force_ids=$( @@ -84,6 +81,9 @@ do -p|--progressive) progressive=true ;; + -w|--wait) + block_flag='' + ;; --) shift break -- cgit v1.2.3-54-g00ecf