Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
If password not provided, ask for it on the command line (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo committed Apr 7, 2017
1 parent 9560bfc commit 4b9ba21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.65</version>
<version>1.67</version>
</dependency>
<dependency>
<groupId>org.ini4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4b9ba21

Please sign in to comment.