Open nus-pe-bot opened 4 years ago
Able to undo though previous function is list-s. The undone command is not list-s though.
E.g. add-s n/NTUC Fairprice Macpherson Mall c/63521728 e/MacphersonMall@NTUCFairprice.com a/401, #02-22 MacPherson Rd, Macpherson Mall, 368125 gp/banana 5 gp/tissue paper 0.55 list-s undo
[original: nus-cs2103-AY1920S2/pe-interim#2536]
This is the expected behavior. undo will only undo commands that modify the data itself. Commands such as list-s are ignored in considering what to undo.
undo
list-s
Here is the snippet in the UG:
--
Able to undo though previous function is list-s. The undone command is not list-s though.
E.g. add-s n/NTUC Fairprice Macpherson Mall c/63521728 e/MacphersonMall@NTUCFairprice.com a/401, #02-22 MacPherson Rd, Macpherson Mall, 368125 gp/banana 5 gp/tissue paper 0.55 list-s undo
[original: nus-cs2103-AY1920S2/pe-interim#2536]