Alex Deymo | 20891f9 | 2015-10-12 17:28:04 -0700 | [diff] [blame] | 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 | |||||
9 | int 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 | } |