AFPObj obj = { 0 };
struct vol *vol;
- while (( cc = getopt( argc, argv, "dF:v")) != -1 ) {
+ while (( cc = getopt( argc, argv, "dF:vV")) != -1 ) {
switch (cc) {
case 'd':
debug = 1;
obj.cmdlineconfigfile = strdup(optarg);
break;
case 'v':
+ case 'V':
printf("cnid_metad (Netatalk %s)\n", VERSION);
return -1;
default:
- printf("cnid_metad [-dv] [-F alternate configfile ]\n");
+ printf("cnid_metad [-dvV] [-F alternate configfile ]\n");
return -1;
}
}
char *volpath = NULL;
bstring dbpath;
- while (( ret = getopt( argc, argv, "dF:l:p:t:v")) != -1 ) {
+ while (( ret = getopt( argc, argv, "dF:l:p:t:vV")) != -1 ) {
switch (ret) {
case 'd':
delete_bdb = 1;
ctrlfd = atoi(optarg);
break;
case 'v':
+ case 'V':
printf("cnid_dbd (Netatalk %s)\n", VERSION);
return -1;
}