diff --git a/moduledev.html b/moduledev.html index 3f8fb1e38a..5aee638658 100644 --- a/moduledev.html +++ b/moduledev.html @@ -1,4 +1,3 @@ - @@ -335,7 +334,7 @@ a lot shorter than this:

Let’s test that module:

-
ansible/hacking/test-module ./time time=\"March 14 12:23\"
+
ansible/hacking/test-module -m ./time -a time=\"March 14 12:23\"

This should return something like:

{"changed": True, "time": "2012-03-14 12:23:00.000307"}
diff --git a/rst/moduledev.rst b/rst/moduledev.rst
index 717b54f5bc..67e527ea77 100644
--- a/rst/moduledev.rst
+++ b/rst/moduledev.rst
@@ -166,7 +166,7 @@ a lot shorter than this::
 
 Let's test that module::
 
-    ansible/hacking/test-module ./time time=\"March 14 12:23\"
+    ansible/hacking/test-module -m ./time -a time=\"March 14 12:23\"
 
 This should return something like::