From 6a2a24cfc917b2f0bb8ee86a124052b069906cbf Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 31 Dec 2007 22:30:46 +0000 Subject: [PATCH] Updating help text for ACL shell interface, fixes #3790 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6290 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/acl.php | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/cake/console/libs/acl.php b/cake/console/libs/acl.php index b13b12779..04891ec93 100644 --- a/cake/console/libs/acl.php +++ b/cake/console/libs/acl.php @@ -366,32 +366,40 @@ class AclShell extends Shell { "\t\t" . __("Deletes the ACL object with the given reference (see 'create' for info on node references).", true) . "\n", 'setparent' => "\tsetParent aro|aco \n" . - "\t\t" . __("Moves the ACL object specified by beneath the parent ACL object specified by .", true) . "\n", + "\t\t" . __("Moves the ACL object specified by beneath the parent ACL object specified by .", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'getpath' => "\tgetPath aro|aco \n" . "\t\t" . __("Returns the path to the ACL object specified by . This command", true) . "\n" . "\t\t" . __("is useful in determining the inhertiance of permissions for a certain", true) . "\n" . - "\t\t" . __("object in the tree.", true) . "\n", - 'check' => "\check [] " . __("or", true) . " all\n" . - "\t\t" . __("Use this command to check ACL permissions.", true) . "\n", + "\t\t" . __("object in the tree.", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", + + 'check' => "\tcheck [] " . __("or", true) . " all\n" . + "\t\t" . __("Use this command to check ACL permissions.", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'grant' => "\tgrant [] " . __("or", true) . " all\n" . "\t\t" . __("Use this command to grant ACL permissions. Once executed, the ARO", true) . "\n" . "\t\t" . __("specified (and its children, if any) will have ALLOW access to the", true) . "\n" . - "\t\t" . __("specified ACO action (and the ACO's children, if any).", true) . "\n", + "\t\t" . __("specified ACO action (and the ACO's children, if any).", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'deny' => "\tdeny []" . __("or", true) . " all\n" . "\t\t" . __("Use this command to deny ACL permissions. Once executed, the ARO", true) . "\n" . "\t\t" . __("specified (and its children, if any) will have DENY access to the", true) . "\n" . - "\t\t" . __("specified ACO action (and the ACO's children, if any).", true) . "\n", + "\t\t" . __("specified ACO action (and the ACO's children, if any).", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'inherit' => "\tinherit []" . __("or", true) . " all\n" . "\t\t" . __("Use this command to force a child ARO object to inherit its", true) . "\n" . - "\t\t" . __("permissions settings from its parent.", true) . "\n", + "\t\t" . __("permissions settings from its parent.", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'view' => "\tview aro|aco []\n" . "\t\t" . __("The view command will return the ARO or ACO tree. The optional", true) . "\n" . - "\t\t" . __("id/alias parameter allows you to return only a portion of the requested tree.", true) . "\n", + "\t\t" . __("id/alias parameter allows you to return only a portion of the requested tree.", true) . "\n" . + "\t\t" . __("For more detailed parameter usage info, see help for the 'create' command.", true) . "\n", 'initdb' => "\tinitdb\n". "\t\t" . __("Use this command : cake schema run create DbAcl", true) . "\n",