From 191c503977b41e7a90c10d7a2c59101082bddab2 Mon Sep 17 00:00:00 2001 From: Ferusel <53888954+Ferusel@users.noreply.github.com> Date: Mon, 7 Nov 2022 21:01:49 +0800 Subject: [PATCH 1/2] Add warning for find command --- docs/_ug/commands/ItemCommands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_ug/commands/ItemCommands.md b/docs/_ug/commands/ItemCommands.md index d808b920d99..ffceeced5e5 100644 --- a/docs/_ug/commands/ItemCommands.md +++ b/docs/_ug/commands/ItemCommands.md @@ -63,6 +63,12 @@ FoodRem does not already contain an item with the name "Potato". * You can use the [List Command](#list-all-items-list) in the next section to display all items again! ``` +```warning +* The `find` command only finds `Items` which has a name that partially or fully matches the specified search by name! +* This means that if the `Items` `Brown Sugar` and `White Sugar` is in FoodRem, executing `find Sugar` will find these two `Items`. +* However, if you try to find an `Item` `Potato` by executing the command `find potatoes carrots celery`, it will not work! +``` + **Example:** {% capture notes %} From 31de9881ae88c63c2bfec684f650238f3697e935 Mon Sep 17 00:00:00 2001 From: Ferusel <53888954+Ferusel@users.noreply.github.com> Date: Mon, 7 Nov 2022 21:07:20 +0800 Subject: [PATCH 2/2] Change warning to info --- docs/_ug/commands/ItemCommands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_ug/commands/ItemCommands.md b/docs/_ug/commands/ItemCommands.md index ffceeced5e5..7f5d63c8407 100644 --- a/docs/_ug/commands/ItemCommands.md +++ b/docs/_ug/commands/ItemCommands.md @@ -63,7 +63,7 @@ FoodRem does not already contain an item with the name "Potato". * You can use the [List Command](#list-all-items-list) in the next section to display all items again! ``` -```warning +```note * The `find` command only finds `Items` which has a name that partially or fully matches the specified search by name! * This means that if the `Items` `Brown Sugar` and `White Sugar` is in FoodRem, executing `find Sugar` will find these two `Items`. * However, if you try to find an `Item` `Potato` by executing the command `find potatoes carrots celery`, it will not work!