From 47cb1f271fcfe28a1e8cd4184f7820e6d7f30dd0 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Mon, 7 Dec 2015 00:30:02 +0000 Subject: Removed \! from config value to fix output --- config.ini.example | 2 +- search.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.ini.example b/config.ini.example index c96b4df..2ea6ff6 100644 --- a/config.ini.example +++ b/config.ini.example @@ -1,3 +1,3 @@ url = http://www.blaupload.co.uk password = password (not required) -command = !blaup \ No newline at end of file +command = blaup \ No newline at end of file diff --git a/search.php b/search.php index c057423..bb98c40 100644 --- a/search.php +++ b/search.php @@ -36,10 +36,10 @@ try { echo "blaupload-search v" . $version . "\n"; die(); } else if ($args[0] == "-h" || $args[0] == "--help") { - echo "Usage: " . $config["command"] . " [query] #[page] | "; - echo "e.g: " . $config["command"] . " intense | "; - echo $config["command"] . " intense marcus | "; - echo $config["command"] . " intense marcus #2 (returns the second page of results)\n"; + echo "Usage: !" . $config["command"] . " [query] #[page] | "; + echo "e.g: !" . $config["command"] . " intense | "; + echo "!" . $config["command"] . " intense marcus | "; + echo "!" . $config["command"] . " intense marcus #2 (returns the second page of results)\n"; die(); } -- cgit v1.2.3