mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-23 12:36:51 +01:00
Fix usage message typo (#8)
This commit is contained in:
parent
551103b8cd
commit
2dd7ef910f
@ -163,7 +163,7 @@ int main(int argc, char *argv[]) {
|
||||
return std::string();
|
||||
}(std::getenv("TELEGRAM_API_HASH"));
|
||||
|
||||
options.set_usage(td::Slice(argv[0]), "--api_id=<arg> --api-hash=<arg> [--local] [OPTION]...");
|
||||
options.set_usage(td::Slice(argv[0]), "--api-id=<arg> --api-hash=<arg> [--local] [OPTION]...");
|
||||
options.set_description("Telegram Bot API server");
|
||||
options.add_option('h', "help", "display this help text and exit", [&] { need_print_usage = true; });
|
||||
options.add_option('\0', "local", "allow the Bot API server to serve local requests",
|
||||
|
Loading…
Reference in New Issue
Block a user