Skip to content

Commit 75bc25d

Browse files
Fix bug when the program prints usage and exits when the user does not want to use LFS.
1 parent 7a43762 commit 75bc25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p4-fusion/utils/arguments.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ bool Arguments::IsValid() const
201201
}
202202
}
203203

204-
const bool hasAnyLFSParam = !GetLFSSpecs().empty() || !GetLFSServerUrl().empty() || !GetLFSUsername().empty() || !GetLFSPassword().empty() || !GetLFSToken().empty() || !GetLFSAPI().empty() || !GetLFSS3Bucket().empty() || !GetLFSS3Repository().empty();
204+
const bool hasAnyLFSParam = !GetLFSSpecs().empty() || !GetLFSServerUrl().empty() || !GetLFSUsername().empty() || !GetLFSPassword().empty() || !GetLFSToken().empty() || !GetLFSS3Bucket().empty() || !GetLFSS3Repository().empty();
205205
const bool hasAllLFSParams = !GetLFSSpecs().empty() && !GetLFSServerUrl().empty() && !GetLFSAPI().empty();
206206
if (hasAnyLFSParam && !hasAllLFSParams)
207207
return false;

0 commit comments

Comments
 (0)