MCPcopy Create free account
hub / github.com/acl-dev/acl / check_version

Function check_version

app/master/tools/master_ctld/main/main.cpp:12–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12static void check_version(int argc, char* argv[])
13{
14 for (int i = 0; i < argc; i++)
15 {
16 if (argv[i][0] != '-')
17 continue;
18 switch (argv[i][1])
19 {
20 case 'h':
21 help(argv[0]);
22 exit (0);
23 case 'v':
24 printf("%s %s (%s, acl-%s)\r\n",
25 MASTER_CTLD_VERSION,
26 MASTER_CTLD_DATE,
27 MASTER_CTLD_CMD,
28 acl_version());
29 exit (0);
30 default:
31 break;
32 }
33 }
34}
35
36int main(int argc, char* argv[])
37{

Callers 1

mainFunction · 0.85

Calls 2

acl_versionFunction · 0.85
helpFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…