File tree Expand file tree Collapse file tree
src/main/java/org/cryptomator/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public class Args {
3232 private static final String USAGE = "java -jar cryptomator-cli.jar" //
3333 + " --bind localhost --port 8080" //
3434 + " --vault mySecretVault=/path/to/vault --password mySecretVault=FooBar3000" //
35- + " --vault myOtherVault=/path/to/other/vault --password myOtherVault=BarFoo4000"
36- + " --vault myThirdVault=/path/to/third/vault --passwordfile myThirdVault=/path/to/passwordfile" ;
35+ + " --vault myOtherVault=/path/to/other/vault --password myOtherVault=BarFoo4000" //
36+ + " --vault myThirdVault=/path/to/third/vault --passwordfile myThirdVault=/path/to/passwordfile" ;
3737 private static final Options OPTIONS = new Options ();
3838 static {
3939 OPTIONS .addOption (Option .builder () //
@@ -110,9 +110,9 @@ public String getVaultPasswordPath(String vaultName) {
110110 }
111111
112112 public String getVaultPassword (String vaultName ) {
113- if (vaultPasswords .getProperty (vaultName ) == null ){
113+ if (vaultPasswords .getProperty (vaultName ) == null ) {
114114 Path vaultPasswordPath = Paths .get (vaultPasswordFiles .getProperty (vaultName ));
115- if (Files .isReadable (vaultPasswordPath ) && Files .isRegularFile (vaultPasswordPath )){
115+ if (Files .isReadable (vaultPasswordPath ) && Files .isRegularFile (vaultPasswordPath )) {
116116 try (Stream <String > lines = Files .lines (vaultPasswordPath )) {
117117 return lines .findFirst ().get ().toString ();
118118 } catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments