1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

cathc "d" command.

This commit is contained in:
Alain Magloire 2003-01-23 20:44:53 +00:00
parent 5381ea3906
commit 968e9cfc2c

View file

@ -106,7 +106,7 @@ public class CLIProcessor {
boolean isDelete = false;
/* deleting breaks: clear, delete */
if ((operation.startsWith("cl") && "clear".indexOf(operation) != -1) ||
(operation.startsWith("del") && "delete".indexOf(operation) != -1)) {
(operation.equals("d") || (operation.startsWith("del") && "delete".indexOf(operation) != -1))) {
isDelete = true;
}
return isDelete;