diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Command.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Command.java index 86ba4d7858..40176a1e3e 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Command.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Command.java @@ -318,8 +318,8 @@ public interface Command { } /** - * Cancels this command. Will call the command's interrupted() method. Commands will be canceled - * even if they are not marked as interruptible. + * Cancels this command. Will call the command's end() method with interrupted=true. Commands will + * be canceled even if they are not marked as interruptible. */ default void cancel() { CommandScheduler.getInstance().cancel(this);