diff options
| author | Aaron Blasko <blaskoazzolaaaron@gmail.com> | 2026-01-08 17:50:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-08 17:50:11 +0100 |
| commit | a649dbe4c4f77c75869d9a627961b426a4e16838 (patch) | |
| tree | 8c7b1bca0f46e98ff8e27ad6e584717f811d0c97 /src/main.cpp | |
| parent | f767782e3ffe29ed22c2bdf02f9b1cfee275db33 (diff) | |
main: add watchdog-fd and safe-mode options to help message (#12922)
Additionally, don't print the "you're not using start-hyprland" warning when using `--verify-config`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index a499bd48..99e64675 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,6 +31,8 @@ static void help() { --config FILE -c FILE - Specify config file to use --socket NAME - Sets the Wayland socket name (for Wayland socket handover) --wayland-fd FD - Sets the Wayland socket fd (for Wayland socket handover) + --watchdog-fd FD - Used by start-hyprland + --safe-mode - Starts Hyprland in safe mode --systeminfo - Prints system infos --i-am-really-stupid - Omits root user privileges check (why would you do that?) --verify-config - Do not run Hyprland, only print if the config has any errors @@ -219,7 +221,7 @@ int main(int argc, char** argv) { if (safeMode) g_pCompositor->m_safeMode = true; - if (!watchdogOk) + if (!watchdogOk && !verifyConfig) Log::logger->log(Log::WARN, "WARNING: Hyprland is being launched without start-hyprland. This is highly advised against."); g_pCompositor->initServer(socketName, socketFd); |
