mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
28 lines
478 B
C++
28 lines
478 B
C++
/*
|
|
** EPITECH PROJECT, 2021
|
|
** Bomberman
|
|
** File description:
|
|
** main
|
|
*/
|
|
|
|
|
|
#include <iostream>
|
|
#include "Runner/Runner.hpp"
|
|
|
|
void usage(const std::string &bin)
|
|
{
|
|
std::cout << "Bomberman." << std::endl
|
|
<< "\tUsage: " << bin << " [options]" << std::endl
|
|
<< "Options:" << std::endl
|
|
<< "\t-h:\tPrint this help message" << std::endl;
|
|
}
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
if (argc == 2 && std::string(argv[1]) == "-h") {
|
|
usage(argv[0]);
|
|
return 1;
|
|
}
|
|
return BBM::run();
|
|
}
|