{"split",no_argument,&split,1},
{"splitprefix",required_argument,NULL,'P'},
{"statistics",no_argument,&show_statis,1},
+ {"version",no_argument,NULL,'V'},
{0,0,0,0}
};
strcpy(Title,_("Squid User Access Report"));
- while((ch = getopt_long(argc, argv, "a:b:c:d:e:f:g:hikl:L:mno:P:prs:t:u:vw:xyz",long_options,&option_index)) != -1){
+ while((ch = getopt_long(argc, argv, "a:b:c:d:e:f:g:hikl:L:mno:P:prs:t:u:Vw:xyz",long_options,&option_index)) != -1){
switch(ch)
{
case 0:
case 'u':
safe_strcpy(us,optarg,sizeof(us));
break;
- case 'v':
+ case 'V':
version();
break;
case 'w':