[aur-dev] [PATCH] Add usage output info for maintainer search extension

djszapi2 at gmail.com djszapi2 at gmail.com
Mon Sep 28 18:50:58 EDT 2009


From: Laszlo Papp <djszapi2 at gmail.com>

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

Signed-off-by: Laszlo Papp <djszapi at archlinux.us>
---
 web/html/rpc.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/web/html/rpc.php b/web/html/rpc.php
index 399c9ad..240cad1 100644
--- a/web/html/rpc.php
+++ b/web/html/rpc.php
@@ -11,13 +11,14 @@ if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
     }
     else {
         // 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.
         echo '<html><body>';
         echo 'The methods currently allowed are: <br />';
         echo '<ul>';
         echo '<li>search</li>';
         echo '<li>info</li>';
+        echo '<li>msearch</li>';
         echo '</ul><br />';
         echo 'Each method requires the following HTTP GET syntax:<br />';
         echo '&nbsp;&nbsp; type=<i>methodname</i>&arg=<i>data</i> <br /><br />';
-- 
1.6.4.4



More information about the aur-dev mailing list