From aef76cc701d8f647444c624da664bb65e84e6bce Mon Sep 17 00:00:00 2001 From: Edwin Chiu Date: Thu, 28 May 2015 14:43:25 -0400 Subject: [PATCH] More complex example of using test-module --- hacking/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/hacking/README.md b/hacking/README.md index ae8db7e3a9..be19249519 100644 --- a/hacking/README.md +++ b/hacking/README.md @@ -33,6 +33,22 @@ Example: 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 ----------------