summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
Diffstat (limited to 'sync-all')
-rw-r--r--sync-all6
1 files changed, 3 insertions, 3 deletions
diff --git a/sync-all b/sync-all
index 1f0bfecad2..1de4fe3dcb 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;
+ }
# --<tag> 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$/, @_) {