Closed donatj closed 11 years ago
I ran into this problem at first too. The following will work though:
$ git cal --author="Jesse\ Donat"
It would be nice to have the argument to author be parsed correctly when it is a string with unescaped spaces enclosed by quotes.
Oh weird. I've never seen spaces need to be quoted in strings in arguments like that
Yeah, intuitively, we shouldn't need to escape spaces in a string that is enclosed in quotes, but I have a feeling that this might be a limitation of Getopt.
It would be nice to have strings with spaces handled properly when enclosed in quotes though..
Yes, it is an issue with Getopt::Long. May be it is better to get rid of it, i'll patch this soon.
Actually, the Getopt::Long works fine. The is issue with how extra args are passed to the git and I've fixed this (see pull request #22). Thank you.
Cool, Merged it. Thank you.