From e42e9956b401d2971b18c1b5241edf548c023c6b Mon Sep 17 00:00:00 2001 From: Saiteja Kommi Date: Tue, 28 Jul 2026 11:36:34 +0530 Subject: [PATCH 1/2] docs(cli): update --stop-after doc examples to match duration-str grammar --- binaries/cli/src/command/run.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/binaries/cli/src/command/run.rs b/binaries/cli/src/command/run.rs index 1eb4a22837..364889453b 100644 --- a/binaries/cli/src/command/run.rs +++ b/binaries/cli/src/command/run.rs @@ -47,9 +47,10 @@ pub struct Run { /// similar to pressing Ctrl-C. This gracefully stops all nodes in the dataflow. /// /// Examples: - /// --stop-after 30 # 30 seconds - /// --stop-after 30s # 30 seconds + /// --stop-after 10s # 10 seconds /// --stop-after 5m # 5 minutes + /// --stop-after 1h30m # 1 hour 30 minutes + /// --stop-after 500ms # 500 milliseconds #[clap(long, value_name = "DURATION", verbatim_doc_comment)] #[arg(value_parser = parse_duration)] pub stop_after: Option, From e5e2809a85a1de81cba147f0d198d6503e7324bd Mon Sep 17 00:00:00 2001 From: Saiteja Kommi Date: Tue, 28 Jul 2026 11:36:34 +0530 Subject: [PATCH 2/2] docs(cli): update --stop-after doc examples to match duration-str grammar --- binaries/cli/src/command/run.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/binaries/cli/src/command/run.rs b/binaries/cli/src/command/run.rs index 364889453b..684cf7c4c2 100644 --- a/binaries/cli/src/command/run.rs +++ b/binaries/cli/src/command/run.rs @@ -47,6 +47,7 @@ pub struct Run { /// similar to pressing Ctrl-C. This gracefully stops all nodes in the dataflow. /// /// Examples: + /// --stop-after 30 # 30 seconds (a bare number is seconds) /// --stop-after 10s # 10 seconds /// --stop-after 5m # 5 minutes /// --stop-after 1h30m # 1 hour 30 minutes