From 4b9ba2186f5dc7c9fbbca5cec0d64991076fed1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Petrovick=C3=BD?= Date: Fri, 7 Apr 2017 22:42:52 +0200 Subject: [PATCH] If password not provided, ask for it on the command line (#102) --- pom.xml | 2 +- .../app/configuration/AuthenticationCommandLineFragment.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 912cba085..c88ce1c4f 100644 --- a/pom.xml +++ b/pom.xml @@ -186,7 +186,7 @@ com.beust jcommander - 1.65 + 1.67 org.ini4j diff --git a/robozonky-app/src/main/java/com/github/triceo/robozonky/app/configuration/AuthenticationCommandLineFragment.java b/robozonky-app/src/main/java/com/github/triceo/robozonky/app/configuration/AuthenticationCommandLineFragment.java index 823458faa..28afb6337 100644 --- a/robozonky-app/src/main/java/com/github/triceo/robozonky/app/configuration/AuthenticationCommandLineFragment.java +++ b/robozonky-app/src/main/java/com/github/triceo/robozonky/app/configuration/AuthenticationCommandLineFragment.java @@ -33,8 +33,8 @@ class AuthenticationCommandLineFragment extends AbstractCommandLineFragment { description = "Used to connect to the Zonky server.") private String username = null; - @Parameter(names = {"-p", "--password"}, required = true, - description = "Used to connect to the Zonky server, or to read the secure storage.", + @Parameter(names = {"-p", "--password"}, password = true, required = true, + description = "Enter Zonky account password or secure storage password.", converter = PasswordConverter.class) private char[] password = null;