Merge pull request #11084 from echiu64/devel
More complex example of using test-module
This commit is contained in:
commit
d3fe9b3194
1 changed files with 16 additions and 0 deletions
|
@ -33,6 +33,22 @@ Example:
|
||||||
|
|
||||||
This is a good way to insert a breakpoint into a module, for instance.
|
This is a good way to insert a breakpoint into a module, for instance.
|
||||||
|
|
||||||
|
For more complex arguments such as the following yaml:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
parent:
|
||||||
|
child:
|
||||||
|
- item: first
|
||||||
|
val: foo
|
||||||
|
- item: second
|
||||||
|
val: boo
|
||||||
|
```
|
||||||
|
|
||||||
|
Use:
|
||||||
|
|
||||||
|
$ ./hacking/test-module -m module \
|
||||||
|
-a "{"parent": {"child": [{"item": "first", "val": "foo"}, {"item": "second", "val": "bar"}]}}"
|
||||||
|
|
||||||
Module-formatter
|
Module-formatter
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue