emerge-delta-webrsync: add -q/--quiet option
authorZac Medico <zmedico@gentoo.org>
Sat, 18 Aug 2012 01:12:41 +0000 (18:12 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 18 Aug 2012 01:12:41 +0000 (18:12 -0700)
misc/emerge-delta-webrsync

index 3b934ffe98d42c449ec62a869315ee369d1fe398..aa3a3d9562b8e1182a53903b98ffb28084697cc0 100755 (executable)
@@ -63,6 +63,12 @@ unset IFS
 MUST_SYNC='1'
 unset PUKE_HELP wgetops
 for x in $*; do
+       case "${x}" in
+               -q|--quiet)
+                       PORTAGE_QUIET=1
+                       continue
+                       ;;
+       esac
        if [[ $x == "-u" ]]; then
                MUST_SYNC=''
        elif [[ $x == "-k" ]]; then