diff --git a/docs/commands/mftf.md b/docs/commands/mftf.md index ac029779e..58be6501e 100644 --- a/docs/commands/mftf.md +++ b/docs/commands/mftf.md @@ -181,7 +181,7 @@ Complex configuration to generate a few non-suite tests, a single test in a suit The command that encodes this complex configuration: ```bash -vendor/bin/mftf generate:tests --tests "{\r\n\"tests\":[\r\n\"general_test1\",\r\n\"general_test2\",\r\n\"general_test3\"\r\n],\r\n\"suites\":{\r\n\"sample\":[\r\n\"suite_test1\"\r\n],\r\n\"sample2\":null\r\n}\r\n}" +vendor/bin/mftf generate:tests --tests '{"tests":["general_test1","general_test2","general_test3"],"suites":{"sample":["suite_test1"],"sample2":null}}' ``` Note that the strings must be escaped and surrounded in quotes.