diff --git a/jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java b/jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java index 678da9e6..3c557bdb 100644 --- a/jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java +++ b/jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java @@ -90,7 +90,8 @@ public static Config parseConfig(String args, String ifc) { Matcher matcher = pattern.matcher(args); if (!matcher.matches()) { System.err.println( - "Usage: -javaagent:/path/to/JavaAgent.jar=[host:]: "); + "Usage: -javaagent:/path/to/JavaAgent.jar=[host:]: "); throw new ConfigurationException("Malformed arguments - " + args); }