Allow --head to limit the entries generate creates
This commit is contained in:
parent
38cf0e56f5
commit
e02fe8d58f
1 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,9 @@ void report_t::generate_report(post_handler_ptr handler)
|
|||
{
|
||||
generate_posts_iterator walker
|
||||
(session, HANDLED(seed_) ?
|
||||
static_cast<unsigned int>(HANDLER(seed_).value.to_long()) : 0);
|
||||
static_cast<unsigned int>(HANDLER(seed_).value.to_long()) : 0,
|
||||
HANDLED(head_) ?
|
||||
static_cast<unsigned int>(HANDLER(head_).value.to_long()) : 50);
|
||||
pass_down_posts(chain_post_handlers(*this, handler), walker);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue