mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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)
|
||||
// style.
|
||||
if (quantity < bulk && (!_needs_confirm || !confirmation))
|
||||
// style. Bulk = 0 denotes infinite bulk.
|
||||
if ((bulk == 0 || quantity < bulk) && (!_needs_confirm || !confirmation))
|
||||
return true;
|
||||
|
||||
if (context.verbose ("blank") && !_first_iteration)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue