[TOOLS] Treat '--' command-line split option correctly.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-06-22 15:09:48 +01:00
1 parent c772fee485
commit 74a08f001b
1 file changed
+1 -1
+1 -1
View File
@@ -276,7 +276,7 @@ for command in all_commands:
####################################################################
def arg_check(args, name, lo, hi = -1):
n = len(args)
n = len([i for i in args if i != '--'])
if hi == -1:
if n != lo:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.