diff --git a/src/main.cpp b/src/main.cpp index 1a8d316..53ff057 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -37,6 +37,19 @@ int main(int argc, char** argv, char** envp) { return 1; } } + + else if (arg == "--help" || arg == "-h") { + Debug::log(NONE, + "Usage: hypridle [options]\n" + "Options:\n" + " -v, --verbose Enable verbose logging\n" + " -q, --quiet Suppress all output except errors\n" + " -V, --version Show version information\n" + " -c, --config Specify a custom config file path\n" + " -h, --help Show this help message" + ); + return 0; + } } try {