hive-forge: update --tail field doc to match count-then-page impl (argus on #770)
This commit is contained in:
parent
f57cf916a1
commit
7cc59c4338
1 changed files with 5 additions and 3 deletions
|
|
@ -36,9 +36,11 @@ pub struct Args {
|
||||||
/// Mutually exclusive with `--tail`.
|
/// Mutually exclusive with `--tail`.
|
||||||
#[arg(long, default_value_t = 50, conflicts_with = "tail")]
|
#[arg(long, default_value_t = 50, conflicts_with = "tail")]
|
||||||
limit: u64,
|
limit: u64,
|
||||||
/// Return the last `N` comments in chronological order. Pages
|
/// Return the last `N` comments in chronological order. Reads
|
||||||
/// through every comment on the issue under the hood, then
|
/// the issue's `comments` count first, then fetches only the
|
||||||
/// slices the tail. Mutually exclusive with `--limit`.
|
/// `ceil(N/50) + 1` pages that contain the tail — work is
|
||||||
|
/// bounded by N, not by thread length. Mutually exclusive with
|
||||||
|
/// `--limit`.
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
tail: Option<usize>,
|
tail: Option<usize>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue