mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
Command: Let zero bulk denote infinite value
This commit is contained in:
parent
f5af3368a9
commit
7babc9c5b1
1 changed files with 2 additions and 2 deletions
|
@ -323,8 +323,8 @@ bool Command::permission (
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1 < Quantity < bulk modifications have optional confirmation, in the (y/n/a/q)
|
// 1 < Quantity < bulk modifications have optional confirmation, in the (y/n/a/q)
|
||||||
// style.
|
// style. Bulk = 0 denotes infinite bulk.
|
||||||
if (quantity < bulk && (!_needs_confirm || !confirmation))
|
if ((bulk == 0 || quantity < bulk) && (!_needs_confirm || !confirmation))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (context.verbose ("blank") && !_first_iteration)
|
if (context.verbose ("blank") && !_first_iteration)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue