summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-07 00:30:02 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-07 00:30:02 +0000
commit47cb1f271fcfe28a1e8cd4184f7820e6d7f30dd0 (patch)
tree5df59e794f513a4561e63e76d3c0b861b2fdf31a
parentfe8493861298b1c727e2468f736e9892fb78a42e (diff)
Removed \! from config value to fix output
-rw-r--r--config.ini.example2
-rw-r--r--search.php8
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();
}