From 2be8cbfa2ba5c15eec4c2f04e160a713806cc408 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Tue, 7 Aug 2012 13:36:03 -0700 Subject: [PATCH] correct test-module arguments --- moduledev.html | 3 +-- rst/moduledev.rst | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/moduledev.html b/moduledev.html index 3fcdebdfd6..9b002e2112 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 42ebb7d574..6f4a0a8143 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::