Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix logic for some types of actions

  • Loading branch information...
commit 3d9b99a37c53b90d8ecae3a4ab40a8e46712ccad 1 parent 8389014
@kislyuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  argcomplete/__init__.py
View
2  argcomplete/__init__.py
@@ -52,7 +52,7 @@ def action_is_satisfied(action):
return False
else:
try:
- return num_consumed_args < action.nargs
+ return num_consumed_args == action.nargs
except:
return True
Please sign in to comment.
Something went wrong with that request. Please try again.