Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added extra space for command help arguments display DAT-13864 #5347

Merged
merged 9 commits into from
Jan 2, 2024
Expand Up @@ -934,14 +934,14 @@ private void addSubcommand(CommandDefinition commandDefinition, CommandLine root
String envStringToPresent =
toEnvVariable("environment variable: 'liquibase.command." + StringUtil.join(commandDefinition.getName(), ".") +
"." + def.getName()) + "')" + argDisplaySuffix;
description = propertyStringToPresent + envStringToPresent;
description = propertyStringToPresent + " " + envStringToPresent;
} else {
String propertyStringToPresent = "\n(defaults file: 'liquibase.command." + def.getName() + "' OR 'liquibase.command." +
StringUtil.join(commandDefinition.getName(), ".") + "." + def.getName() + "'";
String envStringToPresent = ", environment variable: '" + toEnvVariable("liquibase.command." + def.getName()) + "' OR '" +
toEnvVariable("liquibase.command." + StringUtil.join(commandDefinition.getName(), ".") +
"." + def.getName()) + "')" + argDisplaySuffix;
description = propertyStringToPresent + envStringToPresent;
description = propertyStringToPresent + " " + envStringToPresent;
}

if (def.getDefaultValue() != null) {
Expand Down