Skip to content

Commit 2cb36e7

Browse files
committed
fix: clarify default value on full example
1 parent 89a44a1 commit 2cb36e7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/full/src/cli.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// SOFTWARE.
2323
//
2424
// File created: 2024-02-05
25-
// Last updated: 2024-06-01
25+
// Last updated: 2024-10-13
2626
//
2727

2828
use clap::{value_parser, ArgAction, Parser, Subcommand};
@@ -58,11 +58,12 @@ pub(crate) struct Cli {
5858
)]
5959
n_threads: usize,
6060

61-
/// The maximum amount of messages that can be accumulated in the thread channels before holding.
61+
/// The maximum capacity of the thread channel (in number of messages).
6262
#[arg(
6363
short = 'C',
6464
long = "thread-channel-capacity",
6565
action = ArgAction::Set,
66+
default_value = "32",
6667
value_parser = value_parser!(usize),
6768
required = false,
6869
)]

0 commit comments

Comments
 (0)