Compare commits

..

No commits in common. "427f61e1c2edacafe1cbddeba9a1d3679ca4920a" and "1a41afc408c408ec08acb76a2921da02914884ce" have entirely different histories.

View file

@ -36,7 +36,7 @@ public final class Main {
} else if (options.contains("version")) { } else if (options.contains("version")) {
final var thisPackage = Main.class.getPackage(); final var thisPackage = Main.class.getPackage();
final var appVersion = thisPackage.getImplementationVersion() != null ? thisPackage.getImplementationVersion() :"UNKNOWN"; final var appVersion = thisPackage.getImplementationVersion() != null ? thisPackage.getImplementationVersion() :"UNKNOWN";
System.out.println("de.jotoho.waituntil version " + appVersion); System.out.println("de.jotoho.waituntil version $appVersion");
} else if (words.size() == 1) { } else if (words.size() == 1) {
final var target = TimeCalculator.calculateAndAnnounceTargetTime(words.iterator().next()); final var target = TimeCalculator.calculateAndAnnounceTargetTime(words.iterator().next());
Sleep.waitUntilTimeStamp(target); Sleep.waitUntilTimeStamp(target);