diff --git a/README.md b/README.md index 801cf3c43..f8b95b127 100644 --- a/README.md +++ b/README.md @@ -533,7 +533,7 @@ final class RuinScenes implements SceneView { ## Commands -A module adds commands to the host's command root, such as `/iris structure list`, with `registerCommand`. The same +A module adds commands to the host's module branch, such as `/iris module structure list`, with `registerCommand`. The same `Command` runs on every platform; the host parses it, completes it and runs it. ```java diff --git a/api/src/main/java/com/volmit/tooling/Command.java b/api/src/main/java/com/volmit/tooling/Command.java index 2e53b684e..00c125d68 100644 --- a/api/src/main/java/com/volmit/tooling/Command.java +++ b/api/src/main/java/com/volmit/tooling/Command.java @@ -9,7 +9,7 @@ import java.util.regex.Pattern; /** * One command: a name, sub-commands, and at most one action over typed arguments. Immutable; each method returns a * changed copy. A module registers its root command with {@link ToolingRegistry#registerCommand}, and the host mounts it - * below its own command root, such as {@code /iris structure list}. A word that names a sub-command always selects it, + * below its module branch, such as {@code /iris module structure list}. A word that names a sub-command always selects it, * so give a command that has children either no arguments or arguments no child is named like. */ public final class Command { diff --git a/api/src/main/java/com/volmit/tooling/ToolingRegistry.java b/api/src/main/java/com/volmit/tooling/ToolingRegistry.java index e3c6170ad..b906dd100 100644 --- a/api/src/main/java/com/volmit/tooling/ToolingRegistry.java +++ b/api/src/main/java/com/volmit/tooling/ToolingRegistry.java @@ -11,7 +11,7 @@ public interface ToolingRegistry { void registerView(StudioView view); /** - * Mounts {@code command} under the host's command root, such as {@code /iris structure}. The command's name, and each + * Mounts {@code command} under the host's module branch, such as {@code /iris module structure}. The command's name, and each * of its aliases, is a root name; one that another module of the pack took already fails the pack load, naming * both modules. */