cvs: pearbot /modules pearcmds.php

From: Date: Sat, 26 Jul 2003 12:58:53 +0000
Subject: cvs: pearbot /modules pearcmds.php
Groups: php.pear.bot 
Request: Send a blank email to pear-bot+get-36@lists.php.net to get a copy of this message
meebey Sat Jul 26 08:58:53 2003 EDT Modified files: /pearbot/modules pearcmds.php Log: - fixed output and some english. Index: pearbot/modules/pearcmds.php diff -u pearbot/modules/pearcmds.php:1.6 pearbot/modules/pearcmds.php:1.7 --- pearbot/modules/pearcmds.php:1.6 Sat Jul 26 08:50:45 2003 +++ pearbot/modules/pearcmds.php Sat Jul 26 08:58:53 2003 @@ -1,9 +1,9 @@ <?php /** - * $Id: pearcmds.php,v 1.6 2003/07/26 12:50:45 meebey Exp $ - * $Revision: 1.6 $ + * $Id: pearcmds.php,v 1.7 2003/07/26 12:58:53 meebey Exp $ + * $Revision: 1.7 $ * $Author: meebey $ - * $Date: 2003/07/26 12:50:45 $ + * $Date: 2003/07/26 12:58:53 $ * * Copyright (c) 2003 Nicolas CHAILLAN <nicos@php.net> */ @@ -78,33 +78,32 @@ function pear_info($package) { passthru($this->pear_binary.' remote-info '.$package, $buf); - $buf = "This is the PEARbot:\n\nHere are the informations for $package:\n\n".$buf; + $buf = "Here is the information for $package:\n".$buf; return $buf; } function pear_listing() { passthru($this->pear_binary.' remote-list', $buf); - $buf = "This is the PEARbot:\n\nHere are the PEAR's packages:\n\n".$buf; + $buf = "Here are the PEAR packages:\n".$buf; return $buf; } function pear_search($search_for) { passthru($this->pear_binary.' search '.$search_for, $buf); - $buf = "This is the PEARbot:\n\nHere are the PEAR's packages that match ".$search_for.":\n\n".$buf; + $buf = "Here are the PEAR packages that match ".$search_for.":\n".$buf; return $buf; } function pear_help() { - return "This is the PEARbot:\n. - PEAR Helps commands:\n + return "Available PEAR commands:\n Every commands start with !pear\n - -help: gives this information\n - -info package: gives the info of a PEAR package\n - -list: list all packages\n - -search search_for: searchs all packages that contain search_for.\n"; + -help: gives this information\n + -info package: gives the info of a PEAR package\n + -list: list all packages\n + -search search_for: searchs all packages that contain search_for.\n"; } } ?>

« previous php.pear.bot (#36) next »