Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

update inventory-cli-reference.md incorrect info #8023

Merged
merged 11 commits into from
Oct 16, 2020
5 changes: 1 addition & 4 deletions src/guides/v2.3/inventory/inventory-cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ bin/magento inventory:reservation:create-compensations

Command options:

- `-c`, `--complete-orders` - Creates reservations for completed order inconsistencies.
- `-i`, `--incomplete-orders` - Creates reservations for incomplete order inconsistencies.
- `-r`, `--raw` - Returns raw output.
- `-d`, `--dry-run` - Simulates reservation creation without applying reservations.

If the format of the request is incorrect, the following message displays: A list of compensations needs to be defined as argument or STDIN.
If the format of the request is incorrect, the following message displays: Error while parsing argument "your_incorrect_format_argument". Given argument does not match pattern "/(?P<increment_id>.*):(?P<sku>.*):(?P<quantity>.*):(?P<stock_id>.*)/".
Copy link
Contributor

@meker12 meker12 Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@irajneeshgupta Please format the error message as a terminal code block like the example on lines 101 - 105.


As the command creates reservations, it displays messages indicating the updates by SKU, order, and stock.

Expand Down