From 1f6d1861a972cba2998e96e23115e7f1ab904beb Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 23 Aug 2017 17:26:04 -0300 Subject: Fix -U option --- tools/build_snapshots.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh index 8e87751..ea520ac 100755 --- a/tools/build_snapshots.sh +++ b/tools/build_snapshots.sh @@ -19,7 +19,7 @@ # limitations under the License. usage() { - echo "Usage: $(basename $0) [-l] [-n] [-r] [-u] [-p]" + echo "Usage: $(basename $0) [-l] [-n] [-r] [-U] [-p]" echo " -l: Build looped operations" echo " -n: Do not build images, only core pkg repo" echo " -p: Update poudriere repo" @@ -37,7 +37,7 @@ LOOPED_SNAPSHOTS="" POUDRIERE_SNAPSHOTS="" # Handle command line arguments -while getopts lnpru opt; do +while getopts lnprU opt; do case ${opt} in n) IMAGES="none" @@ -51,7 +51,7 @@ while getopts lnpru opt; do r) NO_RESET=1 ;; - u) + U) UPLOAD="-U" ;; *) -- cgit v1.1