From 1b52b410c3d37f53b7210164f18525946fa294c7 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 24 Mar 2014 12:43:45 +0000 Subject: [PATCH] Update docs to CLI array parameters git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1242 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- docs/USAGE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/USAGE b/docs/USAGE index 045a1dd..8bfb7d3 100644 --- a/docs/USAGE +++ b/docs/USAGE @@ -164,6 +164,8 @@ The DomFramework is designed to be used in console line too. You can pass the arguments like a string or an array with this syntax : ./cli/cli.php Example : ./cli/cli.php zones update data1 data2 "zone=newvalue1¶m4=new" +In the example, the param3 provided to the method will be an array containing +two keys ("zone" and "param4" with the associated values) It is possible to have one dash (-) in the parameters. In this case, the informations are readed from the stdin.