salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

optargs - vs -- weirdness? #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure what it's thinking when I give -title instead of --title, but the 
title value doesn't seem to get set at all.

$ ./google contacts delete-groups -title group-d
Are you SURE you want to delete group "group-d"? (y/N): 
Are you SURE you want to delete group "group-a"? (y/N): 

Original issue reported on code.google.com by jh...@google.com on 19 Jun 2010 at 9:47

GoogleCodeExporter commented 9 years ago
I suspect what optparse does is toss all the letters after the first in that 
situation. Which means it interprets it as -t, which is equivalent to --tags.

I wonder if "tags" is now set to "itle"?

Original comment by tom.h.mi...@gmail.com on 20 Jun 2010 at 6:40

GoogleCodeExporter commented 9 years ago

Original comment by tom.h.mi...@gmail.com on 13 Sep 2010 at 4:16