From c5a514d1d44d46f59b6255c3e432b1bbe384c937 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 4 Jan 2009 18:46:52 +0000 Subject: [PATCH] Fix sync-all: Check for --complete/partial before -- Patch from megacz in trac #2857 --- sync-all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sync-all b/sync-all index 1f0bfec..1de4fe3 100644 --- a/sync-all +++ b/sync-all @@ -199,15 +199,15 @@ sub main { elsif ($arg eq "--ignore-failure") { $ignore_failure = 1; } + elsif ($arg eq "--complete" || $arg eq "--partial") { + $get_mode = $arg; + } # -- says we grab the libs tagged 'tag' with # 'get'. It has no effect on the other commands. elsif ($arg =~ m/^--/) { $arg =~ s/^--//; $tags{$arg} = 1; } - elsif ($arg eq "--complete" || $arg eq "--partial") { - $get_mode = $arg; - } else { unshift @_, $arg; if (grep /^-q$/, @_) { -- 1.7.10.4