Move condition code in BaseApplication
The count parameter is now consistent with condition parameter close #1289
This commit is contained in:
parent
f7c4e4c89b
commit
a3e6e98b4e
2 changed files with 10 additions and 11 deletions
|
|
@ -480,11 +480,6 @@ class ReplApplication(Cmd, ConsoleApplication):
|
|||
|
||||
if self.options.condition:
|
||||
self.condition = ResultsCondition(self.options.condition)
|
||||
# Enable infinite search by default is condition is set
|
||||
# (count applies on the non-filtered result, and can be confusing for users)
|
||||
if self._is_default_count:
|
||||
self.options.count = None
|
||||
self._is_default_count = False
|
||||
else:
|
||||
self.condition = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue