]> source.dussan.org Git - jgit.git/commitdiff
diff: Fix bad metaVar reference in --abbrev option 81/1481/1
authorShawn O. Pearce <spearce@spearce.org>
Wed, 1 Sep 2010 17:00:47 +0000 (10:00 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 1 Sep 2010 17:19:42 +0000 (10:19 -0700)
Change-Id: If92545b731ff80bff071aee9bbd852bbd187c7c5
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java

index ebdb74f3c79e3f510a9ba6cfc8120f4574ad1e6e..2be5722040ba7b2a70eba1a04132285cc0cdedc0 100644 (file)
@@ -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);
        }