diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:26:19 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:26:19 +0000 |
commit | fe8493861298b1c727e2468f736e9892fb78a42e (patch) | |
tree | 07e6b93177324e703fd6cb7c1f46e0a9a59d48b7 /search.php | |
parent | 0bf092da0da22b7643b722e5e283013e88c83d93 (diff) |
Make command in help output configurable
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(); } |