On Fri, Jun 5, 2009 at 8:41 AM, Folkert van Heusden<folk...@vanheusden.com> wrote: >> > >> Would it be possible to make both the -g and the http:// bits optional, >> > >> such that for example httping google.com would work? >> > > >> > > Why not setting an alias? >> >> Folkert, what do you think about this? > > It's a bit of an issue: I use getopt() to parse the commandline and it > seems that it cannot handle cases where you have a parameter without > '-'.
I don't know getopt, but normally you've got parameters by name and parameters by position. The last one should be usable for this kind of thing. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org