Skip to content

Commit

Permalink
use HelpUtil where possible (DAT-16569) (#5696)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMassaro committed Mar 21, 2024
1 parent 2060779 commit 9b2c666
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import liquibase.UpdateSummaryEnum;
import liquibase.UpdateSummaryOutputEnum;
import liquibase.command.*;
import liquibase.util.HelpUtil;

import java.util.Arrays;
import java.util.Collections;
Expand Down Expand Up @@ -78,8 +79,6 @@ public void run(CommandResultsBuilder resultsBuilder) throws Exception {

@Override
public void adjustCommandDefinition(CommandDefinition commandDefinition) {
if (commandDefinition.getPipeline().size() == 1) {
commandDefinition.setInternal(true);
}
HelpUtil.hideCommandNameInHelpView(commandDefinition);
}
}

0 comments on commit 9b2c666

Please sign in to comment.