From fe8493861298b1c727e2468f736e9892fb78a42e Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Mon, 7 Dec 2015 00:26:19 +0000 Subject: Make command in help output configurable --- search.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'search.php') diff --git a/search.php b/search.php index 7f5d5a1..c057423 100644 --- a/search.php +++ b/search.php @@ -36,8 +36,10 @@ try { echo "blaupload-search v" . $version . "\n"; die(); } 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"; + 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