diff options
-rw-r--r-- | config.ini.example | 3 | ||||
-rw-r--r-- | search.php | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/config.ini.example b/config.ini.example index 3b2bfd3..c96b4df 100644 --- a/config.ini.example +++ b/config.ini.example @@ -1,2 +1,3 @@ url = http://www.blaupload.co.uk -password = password (not required)
\ No newline at end of file +password = password (not required) +command = !blaup
\ No newline at end of file @@ -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(); } |