From b8b03c02164b8bc4ff003e45ff015e46ec1ecc30 Mon Sep 17 00:00:00 2001 From: ldm0 Date: Tue, 6 Oct 2026 17:41:28 +0800 Subject: [PATCH] feat(cli): add --timeout-ms alias for fetch timeout --- moli/src/cli.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/moli/src/cli.rs b/moli/src/cli.rs index 88161fd513..0f43d4a53c 100644 --- a/moli/src/cli.rs +++ b/moli/src/cli.rs @@ -274,7 +274,12 @@ pub struct FetchArgs { /// replacement navigations, the selected lifecycle stage, response match, /// selector, and script waits share one absolute deadline. Network-idle and /// DOM-stable return the current page with a warning when it expires. - #[arg(short, long, alias = "wait-ms", default_value_t = 25_000)] + #[arg( + short, + long, + aliases = ["wait-ms", "timeout-ms"], + default_value_t = 25_000 + )] pub timeout: u64, #[command(flatten)]