Add usage output info for maintainer search extension

Add msearch type to the list on http://aur.archlinux.org/rpc.php

Signed-off-by: Laszlo Papp <djszapi@archlinux.us>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Laszlo Papp 2009-09-29 00:50:58 +02:00 committed by Loui Chang
parent cf49644f4e
commit 1eff1d223b

View file

@ -11,13 +11,14 @@ if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
} }
else { else {
// dump a simple usage output for people to use. // dump a simple usage output for people to use.
// this could be moved to an api doc in the future, or generated from // this could be moved to an api doc in the future, or generated from
// the AurJSON class directly with phpdoc. For now though, just putting it here. // the AurJSON class directly with phpdoc. For now though, just putting it here.
echo '<html><body>'; echo '<html><body>';
echo 'The methods currently allowed are: <br />'; echo 'The methods currently allowed are: <br />';
echo '<ul>'; echo '<ul>';
echo '<li>search</li>'; echo '<li>search</li>';
echo '<li>info</li>'; echo '<li>info</li>';
echo '<li>msearch</li>';
echo '</ul><br />'; echo '</ul><br />';
echo 'Each method requires the following HTTP GET syntax:<br />'; echo 'Each method requires the following HTTP GET syntax:<br />';
echo '&nbsp;&nbsp; type=<i>methodname</i>&arg=<i>data</i> <br /><br />'; echo '&nbsp;&nbsp; type=<i>methodname</i>&arg=<i>data</i> <br /><br />';