Skip to content

Commit 7d852c7

Browse files
committed
cli tweaking
1 parent ff25470 commit 7d852c7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

crates/top/rerun/src/run.rs

+7-3
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,15 @@ enum Command {
262262
/// Compacts the contents of an .rrd or .rbl file and writes the result to a new file.
263263
///
264264
/// Use the usual environment variables to control the compaction thresholds:
265-
/// * `RERUN_CHUNK_MAX_ROWS`
266-
/// * `RERUN_CHUNK_MAX_ROWS_IF_UNSORTED`
267-
/// * `RERUN_CHUNK_MAX_BYTES`
265+
/// `RERUN_CHUNK_MAX_ROWS`,
266+
/// `RERUN_CHUNK_MAX_ROWS_IF_UNSORTED`,
267+
/// `RERUN_CHUNK_MAX_BYTES`.
268+
///
269+
/// Example: `RERUN_CHUNK_MAX_ROWS=4096 RERUN_CHUNK_MAX_BYTES=1048576 rerun compact -i input.rrd -o output.rrd`
268270
Compact {
271+
#[arg(short = 'i', long = "input", value_name = "src.rrd")]
269272
path_to_input_rrd: String,
273+
#[arg(short = 'o', long = "output", value_name = "dst.rrd")]
270274
path_to_output_rrd: String,
271275
},
272276

0 commit comments

Comments
 (0)