From efde2e3ea7aa8acde36740223f95fd0e46b0796a Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Wed, 1 Sep 2010 10:00:47 -0700 Subject: [PATCH] diff: Fix bad metaVar reference in --abbrev option Change-Id: If92545b731ff80bff071aee9bbd852bbd187c7c5 Signed-off-by: Shawn O. Pearce --- org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java index ebdb74f3c..2be572204 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java @@ -122,7 +122,7 @@ class Diff extends TextBuiltin { diffFmt.setContext(lines); } - @Option(name = "--abbrev", metaVar = "n") + @Option(name = "--abbrev", metaVar = "metaVar_n") void abbrev(int lines) { diffFmt.setAbbreviationLength(lines); }