aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2020-04-02 11:43:10 +0100
committerLuck <git@lucko.me>2020-04-02 12:16:39 +0100
commit9b1f73c954b5f09e0db9650911801ebe5162d4b1 (patch)
tree5aefc4b1f7ad053d8e4bedb99c338492082c7a5d /spark-common/src/main/java/me
parent43d94070d19ea6bd24d6d9bd8c3eba0afe388b52 (diff)
downloadspark-9b1f73c954b5f09e0db9650911801ebe5162d4b1.tar.gz
spark-9b1f73c954b5f09e0db9650911801ebe5162d4b1.tar.bz2
spark-9b1f73c954b5f09e0db9650911801ebe5162d4b1.zip
/spark sampler --> /spark profiler, with alias
Diffstat (limited to 'spark-common/src/main/java/me')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
index 3d8907c..b2b7a16 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
@@ -68,7 +68,7 @@ public class SamplerModule implements CommandModule {
@Override
public void registerCommands(Consumer<Command> consumer) {
consumer.accept(Command.builder()
- .aliases("sampler")
+ .aliases("profiler", "sampler")
.argumentUsage("info", null)
.argumentUsage("stop", null)
.argumentUsage("cancel", null)