Skip to content

Commit 8fa11c0

Browse files
committed
[#6136] improvement(CLI): Move check for enable and disable command in Gravitino CLI to command
fix some bugs.
1 parent 864177f commit 8fa11c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/cli/src/main/java/org/apache/gravitino/cli/ErrorMessages.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ErrorMessages {
3939
public static final String ENTITY_IN_USE = " in use, please disable it first.";
4040

4141
public static final String INVALID_ENABLE_DISABLE =
42-
"Unable to us --enable and --disable at the same time";
42+
"The --enable and the --disable options are mutual exclusive.";
4343
public static final String INVALID_OWNER_COMMAND =
4444
"Unsupported combination of options either use --user or --group.";
4545
public static final String INVALID_REMOVE_COMMAND =

0 commit comments

Comments
 (0)