Skip to content

Commit

Permalink
[apache#5746] improve(CLI): Support table format output for Audit com…
Browse files Browse the repository at this point in the history
…mand

format the code.
  • Loading branch information
Abyss-lord committed Feb 15, 2025
1 parent 8d8ed0a commit 128cafe
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public class CommandContext {
private int outputLimit;
private final String auth;


private String ignoreEnv;
private boolean ignoreSet = false;
private String urlEnv;
Expand All @@ -58,7 +57,7 @@ public CommandContext(CommandLine line) {
? line.getOptionValue(GravitinoOptions.OUTPUT)
: Command.OUTPUT_FORMAT_PLAIN;
this.quiet = line.hasOption(GravitinoOptions.QUIET);
// TODO add limit option to CLI
// TODO add limit option to CLI
this.outputLimit = -1;

this.url = getUrl();
Expand Down Expand Up @@ -112,7 +111,6 @@ public boolean quiet() {
}

/**
* Returns the output limit.
*
* @return The output limit.
Expand All @@ -121,6 +119,7 @@ public int outputLimit() {
return outputLimit;
}

/**
* Returns the authentication type.
*
* @return The authentication type.
Expand Down

0 comments on commit 128cafe

Please sign in to comment.