blob: 678da3528f612750516bcb2deb034e28d9a6f930 [file] [log] [blame]
Alex Deymo20891f92015-10-12 17:28:04 -07001// 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
Alex Deymoddf9db52017-03-02 16:10:41 -08007#include "bsdiff/bsdiff.h"
Alex Deymo20891f92015-10-12 17:28:04 -07008
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}