mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-16 03:26:30 +00:00
examples/diff: update example code
Signed-off-by: schu <schu-github@schulog.org>
This commit is contained in:
parent
a17e882fab
commit
288c8a2575
@ -172,8 +172,8 @@ int main(int argc, char *argv[])
|
|||||||
!check_uint16_param(a, "--unified=", &opts.context_lines) &&
|
!check_uint16_param(a, "--unified=", &opts.context_lines) &&
|
||||||
!check_uint16_param(a, "--inter-hunk-context=",
|
!check_uint16_param(a, "--inter-hunk-context=",
|
||||||
&opts.interhunk_lines) &&
|
&opts.interhunk_lines) &&
|
||||||
!check_str_param(a, "--src-prefix=", &opts.src_prefix) &&
|
!check_str_param(a, "--src-prefix=", &opts.old_prefix) &&
|
||||||
!check_str_param(a, "--dst-prefix=", &opts.dst_prefix))
|
!check_str_param(a, "--dst-prefix=", &opts.new_prefix))
|
||||||
usage("Unknown arg", a);
|
usage("Unknown arg", a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user