mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 14:50:17 +00:00
args.find is now args.first
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ class Args(object):
|
||||
"""Removes given arg (or list thereof) from Args object."""
|
||||
|
||||
def _remove(x):
|
||||
found = self.find(x)
|
||||
found = self.first(x)
|
||||
if found:
|
||||
self._args.pop(found)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user