Commit 7d852c7 1 parent ff25470 commit 7d852c7 Copy full SHA for 7d852c7
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -262,11 +262,15 @@ enum Command {
262
262
/// Compacts the contents of an .rrd or .rbl file and writes the result to a new file.
263
263
///
264
264
/// 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`
268
270
Compact {
271
+ #[ arg( short = 'i' , long = "input" , value_name = "src.rrd" ) ]
269
272
path_to_input_rrd : String ,
273
+ #[ arg( short = 'o' , long = "output" , value_name = "dst.rrd" ) ]
270
274
path_to_output_rrd : String ,
271
275
} ,
272
276
You can’t perform that action at this time.
0 commit comments