diff --git a/docs/DeveloperGuide.adoc b/docs/DeveloperGuide.adoc index d2310a0a1601..80de5aa25993 100644 --- a/docs/DeveloperGuide.adoc +++ b/docs/DeveloperGuide.adoc @@ -1204,7 +1204,6 @@ Expected: batch is removed from batch table shown in the information panel. Deta Expected: batch is added to batch table shown in the information panel. Details of the added batch shown in the status message. Total quantity should increase by `1`. Next expiry should be updated if batch removed had the closest expiry date. Filtered list should remain filtered. .. Test case: `update 1 b/E q/1 e/1/1/2020 b/F b/G q/2 e/2/1/2020` (more than one valid input) + Expected: batch `G` is added to batch table shown in the information panel as last valid input is taken. Details of the added batch shown in the status message. Total quantity should increase by `2`. Next expiry of medicine should change if `02/01/2020` is earlier. Filtered list should remain filtered. -======= // tag::exportcommandtest[] === Exporting as CSV file format diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index 3d7eb34cd8a2..266c6dc19f86 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -224,7 +224,7 @@ Import of pictures to aid in the medicine identification. *Command Format* * Words in `UPPER_CASE` are the parameters to be supplied by the user e.g. in `add n/NAME`, `NAME` is a parameter which can be used as `add n/Paracetamol`. -* Items in square brackets are optional e.g `e.g n/NAME [t/TAG] can be used as `n/Paracetamol t/fever` or as `n/Paracetamol`. +* Items in square brackets are optional e.g `n/NAME [t/TAG]` can be used as `n/Paracetamol t/fever` or as `n/Paracetamol`. * Items with `…`​ after them can be used multiple times including zero times e.g. `[t/TAG]…` can be used as `{nbsp}` (i.e. 0 times), `t/fever, t/painkiller t/inflammation` etc.. * Parameters can be in any order e.g. if the command specifies `n/NAME c/COMPANY_NAME`, `c/COMPANY_NAME n/NAME` is also acceptable. * `INDEX` refers to the index number shown in the displayed medicine list. The index *must be a positive integer* 1, 2, 3, ...