1 // Copyright 2015 The Chromium OS Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <err.h> 6 7 #include "bsdiff.h" 8 main(int argc,char * argv[])9int main(int argc, char* argv[]) { 10 if (argc != 4) 11 errx(1, "usage: %s oldfile newfile patchfile\n", argv[0]); 12 13 return bsdiff::bsdiff(argv[1], argv[2], argv[3]); 14 } 15