Skip to content

Commit e8e7e33

Browse files
committed
Change none to unlimited
1 parent c6a5b85 commit e8e7e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zulip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ async fn workqueue_commands(
301301
if words.next().is_some() {
302302
anyhow::bail!("Too many parameters.");
303303
}
304-
if value == "none" {
304+
if value == "unlimited" {
305305
None
306306
} else {
307307
Some(value.parse::<u32>().context(
308-
"Wrong parameter format. Must be a positive integer or `none` to unset the limit.",
308+
"Wrong parameter format. Must be a positive integer or `unlimited` to unset the limit.",
309309
)?)
310310
}
311311
}

0 commit comments

Comments
 (0)