diff options
author | schu <schu-github@schulog.org> | 2012-03-13 16:48:07 +0100 |
---|---|---|
committer | schu <schu-github@schulog.org> | 2012-03-13 16:51:16 +0100 |
commit | 288c8a25750af694685ad71e08b6708729266aa9 (patch) | |
tree | df598ec7f42e0dda9a61747179a07f28b1174d86 /examples/diff.c | |
parent | a17e882fab4e190d5a052cbc9cf6a238a9166a7c (diff) | |
download | libgit2-288c8a25750af694685ad71e08b6708729266aa9.tar.gz |
examples/diff: update example code
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/diff.c b/examples/diff.c index f80f7029c..20e14e511 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -172,8 +172,8 @@ int main(int argc, char *argv[]) !check_uint16_param(a, "--unified=", &opts.context_lines) && !check_uint16_param(a, "--inter-hunk-context=", &opts.interhunk_lines) && - !check_str_param(a, "--src-prefix=", &opts.src_prefix) && - !check_str_param(a, "--dst-prefix=", &opts.dst_prefix)) + !check_str_param(a, "--src-prefix=", &opts.old_prefix) && + !check_str_param(a, "--dst-prefix=", &opts.new_prefix)) usage("Unknown arg", a); } |