summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/cli')
-rw-r--r--makima/src/daemon/cli/daemon.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/daemon.rs b/makima/src/daemon/cli/daemon.rs
index c779d64..0dd11dc 100644
--- a/makima/src/daemon/cli/daemon.rs
+++ b/makima/src/daemon/cli/daemon.rs
@@ -38,4 +38,9 @@ pub struct DaemonArgs {
/// Requires bwrap to be installed on the system.
#[arg(long, env = "MAKIMA_DAEMON_BUBBLEWRAP")]
pub bubblewrap: bool,
+
+ /// Maximum iterations for autonomous task loops.
+ /// Set to 0 for unlimited (not recommended). Default: 10.
+ #[arg(long, env = "MAKIMA_MAX_ITERATIONS")]
+ pub max_iterations: Option<u32>,
}