diff --git a/moduledev.html b/moduledev.html index 3fcdebdfd64..9b002e2112a 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 42ebb7d574b..6f4a0a81435 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::