From ba6d4fb0d17855b31c8a3a9cc281dce91ed7c720 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 17 Jan 2024 18:32:11 +0100 Subject: [PATCH] Add missing documentation. --- hooked-config/source/config/exit_action.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooked-config/source/config/exit_action.rs b/hooked-config/source/config/exit_action.rs index 783cf4f..c298187 100644 --- a/hooked-config/source/config/exit_action.rs +++ b/hooked-config/source/config/exit_action.rs @@ -6,7 +6,9 @@ use serde::{Deserialize, Serialize}; #[derive(Debug, Deserialize, Eq, PartialEq, Serialize)] #[serde(rename_all = "snake_case")] pub enum ExitAction { + /// Regardless of the hook's exit code, allow Hooked to continue. Continue, + /// Stop on a non-zero hook exit code. Stop, }