]> granicus.if.org Git - php/commitdiff
Help for command "shell-test"
authorTomas V.V.Cox <cox@php.net>
Wed, 10 Apr 2002 12:40:06 +0000 (12:40 +0000)
committerTomas V.V.Cox <cox@php.net>
Wed, 10 Apr 2002 12:40:06 +0000 (12:40 +0000)
pear/PEAR/Command/Registry.php

index 92777094ca1a17e2e21ef514eb31b192dfd0da63..18984abb245e07d2d0d5cea7e445d58c0b2e6643 100644 (file)
@@ -37,6 +37,12 @@ class PEAR_Command_Registry extends PEAR_Command_Common
         switch ($command) {
             case 'list-installed':
                 return array(null, 'List the installed PEAR packages in the system');
+            case 'shell-test':
+                return array('<package name> [<relation>] [<version>]',
+                        "Tests if a package is installed in the system. Will exit(1) if it is not.\n".
+                        "   <relation>   The version comparison operator. One of:\n".
+                        "                <, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne\n".
+                        "   <version>    The version to compare with");
         }
     }