Skip to content

Commit 90e6539

Browse files
committed
docs: Explain --sort CLI arg better with warning
1 parent c861293 commit 90e6539

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/cli.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,12 @@ pub struct Opts {
550550
#[arg(long, hide = true, value_parser = parse_millis, conflicts_with("sort"))]
551551
pub max_buffer_time: Option<Duration>,
552552

553-
/// Sort search results by the given key before printing or executing commands.
553+
/// Sort search results by the given key before printing or executing commands via `--exec`/`--exec-batch`.
554554
///
555-
/// Note: this buffers all results in memory before outputting.
555+
/// This option results in slower execution as parallel execution is effectively disabled.
556+
///
557+
/// Warning: This option significantly increases memory usage.
558+
/// All results are buffered in memory before outputting.
556559
#[arg(
557560
long,
558561
value_name = "key",

0 commit comments

Comments
 (0)