]> source.dussan.org Git - jgit.git/commit
add: Fix bad metaVar reference in <filepattern> help 27/8927/1
authorJonathan Nieder <jrn@google.com>
Thu, 29 Nov 2012 01:48:25 +0000 (17:48 -0800)
committerJonathan Nieder <jrn@google.com>
Thu, 29 Nov 2012 01:48:25 +0000 (17:48 -0800)
commitb46b27e3897d5a78d0d3b5766309ee853346c182
tree4c9eea28dfcfcd83dd1a7257baee6450e4e3efa6
parent3537f3cc2d5f9fc512a90ecc8f2b17f4689350e9
add: Fix bad metaVar reference in <filepattern> help

Without this patch, "jgit add --help" throws two exceptions
(NoSuchFieldException: metavar_filepattern; MissingResourceException:
Can't find resource for bundle java.util.PropertyResourceBundle, key
metavar_filepattern) instead of printing a usage message, due to a
small typo and a missing declaration.

Change-Id: I4b848b3a8c7b1a49d8b9582809375daa4aca6b50
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Add.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/CLIText.java