parent
bcfd1cc034
commit
e0ec607735
|
@ -147,7 +147,7 @@ public class OAuth2AuthorizationServerConfiguration
|
||||||
String prefix = "security.oauth2.client";
|
String prefix = "security.oauth2.client";
|
||||||
boolean defaultSecret = this.credentials.isDefaultSecret();
|
boolean defaultSecret = this.credentials.isDefaultSecret();
|
||||||
logger.info(String.format(
|
logger.info(String.format(
|
||||||
"Initialized OAuth2 Client\n\n%s.clientId = %s\n%s.secret = %s\n\n",
|
"Initialized OAuth2 Client%n%n%s.clientId = %s%n%s.secret = %s%n%n",
|
||||||
prefix, this.credentials.getClientId(), prefix,
|
prefix, this.credentials.getClientId(), prefix,
|
||||||
defaultSecret ? this.credentials.getClientSecret() : "****"));
|
defaultSecret ? this.credentials.getClientSecret() : "****"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -279,14 +279,14 @@ public class CommandRunner implements Iterable<Command> {
|
||||||
if (!isOptionCommand(command) && !isHiddenCommand(command)) {
|
if (!isOptionCommand(command) && !isHiddenCommand(command)) {
|
||||||
String usageHelp = command.getUsageHelp();
|
String usageHelp = command.getUsageHelp();
|
||||||
String description = command.getDescription();
|
String description = command.getDescription();
|
||||||
Log.info(String.format("\n %1$s %2$-15s\n %3$s", command.getName(),
|
Log.info(String.format("%n %1$s %2$-15s%n %3$s", command.getName(),
|
||||||
(usageHelp == null ? "" : usageHelp),
|
(usageHelp == null ? "" : usageHelp),
|
||||||
(description == null ? "" : description)));
|
(description == null ? "" : description)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Log.info("");
|
Log.info("");
|
||||||
Log.info("Common options:");
|
Log.info("Common options:");
|
||||||
Log.info(String.format("\n %1$s %2$-15s\n %3$s", "-d, --debug",
|
Log.info(String.format("%n %1$s %2$-15s%n %3$s", "-d, --debug",
|
||||||
"Verbose mode",
|
"Verbose mode",
|
||||||
"Print additional status information for the command you are running"));
|
"Print additional status information for the command you are running"));
|
||||||
Log.info("");
|
Log.info("");
|
||||||
|
|
Loading…
Reference in New Issue