mirror of https://github.com/omar-polo/gmid.git
fmt
This commit is contained in:
parent
83c62ff950
commit
71ddfd2023
8
gmid.c
8
gmid.c
|
@ -444,35 +444,27 @@ main(int argc, char **argv)
|
||||||
fatal("could not parse macro definition: %s",
|
fatal("could not parse macro definition: %s",
|
||||||
optarg);
|
optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'd':
|
case 'd':
|
||||||
conf.foreground = 1;
|
conf.foreground = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'f':
|
case 'f':
|
||||||
config_path = absolutify_path(optarg);
|
config_path = absolutify_path(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case 'n':
|
case 'n':
|
||||||
conftest++;
|
conftest++;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'P':
|
case 'P':
|
||||||
pidfile = optarg;
|
pidfile = optarg;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'V':
|
case 'V':
|
||||||
puts("Version: " GMID_STRING);
|
puts("Version: " GMID_STRING);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case 'v':
|
case 'v':
|
||||||
conf.verbose++;
|
conf.verbose++;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue