Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

examples/diff: update example code

Signed-off-by: schu <schu-github@schulog.org>
  • Loading branch information...
commit 288c8a25750af694685ad71e08b6708729266aa9 1 parent a17e882
@schu schu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/diff.c
View
4 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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.