aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/main/java
diff options
context:
space:
mode:
authorTobias Roeser <[email protected]>2012-11-24 18:05:33 +0100
committerTobias Roeser <[email protected]>2012-11-24 18:05:33 +0100
commit86cedeb856c8f40d057a21e8d7f3bddef5f0e214 (patch)
tree41fa2190826ca98b811f60c12d253eeabca9bc17 /api/src/main/java
parent0ba43fdcaa8643cc9d6daa5a0bc2c07cf23f6267 (diff)
Added German translation for command line options.
Diffstat (limited to 'api/src/main/java')
-rwxr-xr-xapi/src/main/java/org/semver/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/main/java/org/semver/Main.java b/api/src/main/java/org/semver/Main.java
index a0f6b36..2870c78 100755
--- a/api/src/main/java/org/semver/Main.java
+++ b/api/src/main/java/org/semver/Main.java
@@ -90,6 +90,8 @@ public class Main {
public static void main(final String[] args) throws IOException {
Config config = new Config();
CmdlineParser cmdlineParser = new CmdlineParser(config);
+ // Load translations of command line descriptions
+ cmdlineParser.setResourceBundle(Main.class.getPackage().getName() + ".Messages", Main.class.getClassLoader());
cmdlineParser.setProgramName("semver");
cmdlineParser.setAboutLine("Semantic Version validator version 0.9.16-SNAPSHOT.");
try {
@@ -125,5 +127,4 @@ public class Main {
}
}
-
}