We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 651253f commit 438f86bCopy full SHA for 438f86b
1 file changed
adb/common_cli.py
@@ -128,7 +128,6 @@ def StartCli(argv, device_callback, kwarg_callback=None, list_callback=None,
128
method = getattr(dev, method_name)
129
argspec = inspect.getargspec(method)
130
num_args = len(argspec.args) - 1 # self is the first one.
131
- num_args -= len(argspec.defaults or [])
132
# Handle putting the remaining command line args into the last normal arg.
133
argv.pop(0)
134
0 commit comments