summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-07 00:16:03 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-07 00:16:03 +0000
commitd87df8ae51c39e1cad3e2b2a9dabacd81957f5c8 (patch)
treee651fd483aeafc2c1eb7a46dcb5da5cfa5340850
parent102b306404615cfeef782cf7467909c72a09c772 (diff)
Missing (I am good at php yes)
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index f4109b1..3e89647 100644
--- a/search.php
+++ b/search.php
@@ -32,10 +32,10 @@ try {
$args = explode(" ", $search);
$page = 1;
- if (args[0] == "-v" || args[0] == "--version") {
+ if ($args[0] == "-v" || $args[0] == "--version") {
echo $version + \n;
die();
- } else if (args[0] == "-h" || args[0] == "--help") {
+ } else if ($args[0] == "-h" || $args[0] == "--help") {
echo "Usage: !blaup [query] #[page] | e.g: !blaup intense | !blaup intense marcus | "
echo "!blaup intense marcus #2 (returns the second page of results)\n"
die();