{
int index, c;
opterr = 0;
- const char *options = "vc:";
+ const char *options = "vc:\x0";
while((c = getopt(argc, argv, options)) != -1)
{
switch(c)
printf("unknown option char `\\x%x'.\n", optopt);
}
break;
+ case '\x0': break; //ignore. not sure why this shows up. maybe zsh?
default: abort();
}
}