security: mention comma-separated for IP and DNS name prompts

Original commit: elastic/x-pack-elasticsearch@3e58fc282a
This commit is contained in:
jaymode 2016-07-18 08:53:17 -04:00
parent 59fcb205b5
commit 34d04a8c78
1 changed files with 2 additions and 2 deletions

View File

@ -189,8 +189,8 @@ public class CertificateTool extends SettingCommand {
while (done == false) {
String name = terminal.readText("Enter instance name: ");
if (name.isEmpty() == false) {
String ipAddresses = terminal.readText("Enter IP Addresses for instance? []: ");
String dnsNames = terminal.readText("Enter DNS names for instance? []: ");
String ipAddresses = terminal.readText("Enter IP Addresses for instance (comma-separated if more than one) []: ");
String dnsNames = terminal.readText("Enter DNS names for instance (comma-separated if more than one) []: ");
List<String> ipList = Arrays.asList(Strings.splitStringByCommaToArray(ipAddresses));
List<String> dnsList = Arrays.asList(Strings.splitStringByCommaToArray(dnsNames));